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
+3 -1
View File
@@ -15,7 +15,9 @@
COLORTERM = "truecolor";
MANPAGER = "bat -l man -p";
};
persistence."/persist".files = [".zsh_history"];
persistence."/persist" = lib.mkIf (config.var.impermanenceEnabled or false) {
files = [".zsh_history"];
};
};
programs.zsh = {