feat(nixos): move persist options to system and users modules
This commit is contained in:
parent
6d43b0db3b
commit
8c2b1dfc6e
3 changed files with 4 additions and 6 deletions
|
@ -13,6 +13,8 @@ in
|
|||
# nix.settings.trusted-users = [ "@wheel" ];
|
||||
#TODO: move ssh key settings elsewhere
|
||||
# users.users.root.openssh.authorizedKeys.keys = [ owner.pubkey ];
|
||||
# persist uids and gids
|
||||
persistDirs = [ "/var/lib/nixos" ];
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
groups.users.gid = 100;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue