about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/system/impermanence/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/system/impermanence/default.nix b/modules/system/impermanence/default.nix
index dca30083..9730dde6 100644
--- a/modules/system/impermanence/default.nix
+++ b/modules/system/impermanence/default.nix
@@ -15,6 +15,7 @@ in {
           "/etc/nixos"
           "/var/log"
           "/var/lib/systemd"
+          "/var/lib/nixos"
         ]
         ++ lib.optional config.networking.networkmanager.enable "/etc/NetworkManager"
         ++ lib.optional config.boot.lanzaboote.enable "/etc/secureboot"
@@ -27,6 +28,7 @@ in {
           "/etc/nixos"
           "/var/log"
           "/var/lib/systemd"
+          "/var/lib/nixos"
         ]
         ++ lib.optional config.networking.networkmanager.enable "/etc/NetworkManager"
         ++ lib.optional config.boot.lanzaboote.enable "/etc/secureboot"