feat: moved logs to impermanence

This commit is contained in:
Leyla Becker 2025-11-27 20:29:03 -06:00
parent adc1c1a918
commit a0807b014c

View file

@ -53,13 +53,6 @@ in {
relatime = "off";
};
};
replicate = {
"system/var/log" = {
impermanence.enable = false;
type = "zfs_fs";
mount = "/var/log";
};
};
};
})
(lib.mkIf (config.storage.zfs.enable && config.storage.impermanence.enable) {
@ -107,6 +100,12 @@ in {
autoSnapshot = true;
};
};
"system/var/log" = {
type = "zfs_fs";
directories = {
"/var/log".enable = true;
};
};
};
};