This commit is contained in:
2026-01-05 15:26:12 -06:00
parent 7c61d646a6
commit c212117355
2 changed files with 1014 additions and 3 deletions

View File

@@ -6,9 +6,9 @@
sops.secrets."nathan/pass".neededForUsers = true;
users.users.nathan = {
shell = pkgs.zsh;
name = "nathan";
isNormalUser = true;
shell = lib.mkDefault pkgs.zsh;
name = lib.mkDefault "nathan";
isNormalUser = lib.mkDefault true;
#hashedPasswordFile = lib.mkIf (cfg.hashedPasswordFile != null) cfg.hashedPasswordFile;
extraGroups = [ "networkmanager" ];
openssh.authorizedKeys.keys = with config.sysconfig.users.nathan; lib.mkIf config.sysconfig.services.openssh.enable (ssh.keys ++ (map (z: config.sysconfig.sshHostKeys.${z}) ssh.hosts));