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
@@ -1,6 +1,8 @@
{
pkgs,
pkgs-unstable,
config,
lib,
...
}: {
home = {
@@ -19,7 +21,7 @@
rsync
]);
persistence."/persist" = {
persistence."/persist" = lib.mkIf (config.var.impermanenceEnabled or false) {
directories = [
".claude"
];