summary refs log tree commit diff
path: root/profiles/core.nix
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-02-17 16:50:09 +0200
committertzlil <tzlils@protonmail.com>2023-02-17 16:50:09 +0200
commit3c3e4531dac7f4ab591bf391be72a11121b45673 (patch)
treec87f7faa39dd4cf22a47cac661d1e4a50dda9888 /profiles/core.nix
parentd4896b353eed0ab37cf8a2591fe1f5369c37883f (diff)
cgit works, added git user to ssh AllowUser, added uid/gid maps to persist
Diffstat (limited to 'profiles/core.nix')
-rw-r--r--profiles/core.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/profiles/core.nix b/profiles/core.nix
index 17d64e2..5f48baa 100644
--- a/profiles/core.nix
+++ b/profiles/core.nix
@@ -25,5 +25,8 @@
 
     age.identityPaths = [ "/nix/persist/etc/ssh/ssh_host_ed25519_key" ];
     programs.command-not-found.dbPath = inputs.programsdb.packages.${pkgs.system}.programs-sqlite;
+
+    # save uid/guid
+    environment.persistence."/nix/persist".directories = [ "/var/lib/nixos" ];
   };
 }
\ No newline at end of file