add some dirs to persist

This commit is contained in:
2025-06-07 17:17:47 -05:00
parent 88b14e2f3d
commit 002a8519d0
+8
View File
@@ -23,6 +23,14 @@
fileSystems."/persist".neededForBoot = true; fileSystems."/persist".neededForBoot = true;
environment.persistence."/nix/persist" = {
directories = [
"/etc/nixos"
"/var/log"
"/var/db/sudo/lectured"
];
};
# needed to allowOther in home.nix # needed to allowOther in home.nix
programs.fuse.userAllowOther = true; programs.fuse.userAllowOther = true;