feat: add rootPartition option to userdata

This commit is contained in:
nhnn
2025-07-23 18:16:16 +03:00
parent 0449f6baeb
commit c218df50cb
2 changed files with 9 additions and 1 deletions

View File

@@ -59,7 +59,10 @@ in
'';
};
fileSystems."/".options = [ "noatime" ];
fileSystems."/" = {
device = lib.mkIf (config.selfprivacy.server.rootPartition != null) (lib.mkForce config.selfprivacy.server.rootPartition);
options = [ "noatime" ];
};
services.selfprivacy-api.enable = true;