feat(stolas): enable admin module
This commit is contained in:
parent
5f9eac5700
commit
2e8aa80b70
3 changed files with 11 additions and 8 deletions
|
@ -97,8 +97,8 @@ in
|
|||
services.openssh.openFirewall = true;
|
||||
|
||||
users.users = mapAttrs (user: keys: {
|
||||
shell = shells."${keys.shell}";
|
||||
extraGroups = extraGroups;
|
||||
shell = lib.mkDefault shells."${keys.shell}";
|
||||
extraGroups = lib.mkDefault extraGroups;
|
||||
isNormalUser = true;
|
||||
openssh.authorizedKeys.keys = keys.keys;
|
||||
}) cfg.users;
|
||||
|
|
|
@ -25,7 +25,7 @@ with lib;
|
|||
|
||||
age.identityPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
|
||||
users.mutableUsers = mkDefault true;
|
||||
users.mutableUsers = true;
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = mkDefault true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue