diff options
Diffstat (limited to 'hosts/by-name/server1/configuration.nix')
-rw-r--r-- | hosts/by-name/server1/configuration.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hosts/by-name/server1/configuration.nix b/hosts/by-name/server1/configuration.nix index ab7c02a..6bb1067 100644 --- a/hosts/by-name/server1/configuration.nix +++ b/hosts/by-name/server1/configuration.nix @@ -25,7 +25,16 @@ postgresql.enable = true; redlib.enable = true; users.enable = true; - persist.enable = true; + persist = { + enable = true; + directories = [ + "/var/log" + + # TODO(@bpeetz): Instead of persisting that, encode each uid/gid directly in the + # config. <2024-12-24> + "/var/lib/nixos" + ]; + }; }; boot.tmp.cleanOnBoot = true; |