From 74d9edaf41c600eca3fb6fb141f63e667fbd9cfb Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Tue, 17 Dec 2024 23:58:09 +0100 Subject: impermanence: persist /var/lib/nixos --- modules/nixos/sils/impermanence.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/nixos') 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"; + } ]; }; } -- cgit 1.4.1