mkIf impermanence

Signed-off-by: Hadi <hadi@example.fr>
This commit is contained in:
Hadi
2026-08-17 14:57:11 +02:00
parent 9a3fa6f4a9
commit 5076c244db
13 changed files with 58 additions and 23 deletions
+7 -4
View File
@@ -1,6 +1,7 @@
{
pkgs,
config,
lib,
...
}: {
home.packages = with pkgs; [
@@ -28,8 +29,10 @@
};
};
home.persistence."/persist".directories = [
".config/protonvpn"
".config/Proton Pass"
];
home.persistence."/persist" = lib.mkIf (config.var.impermanenceEnabled or false) {
directories = [
".config/protonvpn"
".config/Proton Pass"
];
};
}