diff options
author | Silas Schöffel <sils@sils.li> | 2024-12-17 23:58:09 +0100 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-12-17 23:58:09 +0100 |
commit | 74d9edaf41c600eca3fb6fb141f63e667fbd9cfb (patch) | |
tree | e350e8c6dd6c4870d64d66af86d0dd22deadfede | |
parent | hplappi: temporarily permitt insecure packages (diff) | |
download | nix-config-74d9edaf41c600eca3fb6fb141f63e667fbd9cfb.tar.gz nix-config-74d9edaf41c600eca3fb6fb141f63e667fbd9cfb.zip |
impermanence: persist /var/lib/nixos
-rw-r--r-- | modules/nixos/sils/impermanence.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/nixos/sils/impermanence.nix b/modules/nixos/sils/impermanence.nix index 55651e0..4acdc6f 100644 --- a/modules/nixos/sils/impermanence.nix +++ b/modules/nixos/sils/impermanence.nix @@ -26,6 +26,12 @@ in { group = "root"; mode = "0700"; } + { + directory = "/var/lib/nixos"; + user = "root"; + group = "root"; + mode = "0755"; + } ]; }; } |