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
+5 -1
View File
@@ -1,6 +1,8 @@
{
pkgs,
pkgs-unstable,
config,
lib,
...
}: {
home.packages = with pkgs; [
@@ -38,5 +40,7 @@
smassh # typing test, 10fastfinger like
];
home.persistence."/persist".directories = [".config/gh" ".config/gh-dash"];
home.persistence."/persist" = lib.mkIf (config.var.impermanenceEnabled or false) {
directories = [".config/gh" ".config/gh-dash"];
};
}