better practice, lib.mkDefault, ssh

This commit is contained in:
2025-02-01 23:55:50 +00:00
parent 74911c6563
commit 93eab92cf1
7 changed files with 40 additions and 13 deletions

View File

@@ -89,7 +89,8 @@
isNormalUser = true;
extraGroups = [ "wheel" ];
shell = pkgs.zsh;
hashedPassword = "$y$j9T$wp9I05TfxjrAzCMCcxlei1$Fm7sJJSwFHpSIQT0RESOdJ7vkTYyN0IXs5n/xkg65y3";
hashedPassword = config.hashedPassword;
openssh.authorizedKeys.keys = config.authorized_ssh;
};
environment.systemPackages =
@@ -106,7 +107,5 @@
# enableSSHSupport = true;
# };
services.openssh.enable = true;
system.stateVersion = "24.11";
}