hosts: use zsh for materus user

This commit is contained in:
2024-04-05 22:41:31 +02:00
parent 860c28efad
commit 575c698aa1
6 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -73,6 +73,7 @@
packages = [
];
openssh.authorizedKeys.keyFiles = [ ("${materusArg.cfg.path}" + "/extraFiles/keys/ssh/materus.pub") ];
shell = pkgs.zsh;
};
users.users.acme.openssh.authorizedKeys.keyFiles = [ ("${materusArg.cfg.path}" + "/extraFiles/keys/ssh/waffentrager.pub") ];
users.users.acme.shell = pkgs.scponly;
@@ -99,7 +100,7 @@
services.openssh.enable = true;
services.openssh.openFirewall = false;
services.openssh.settings.PermitRootLogin = "no";
services.openssh.settings.PasswordAuthentication = true;
services.openssh.settings.PasswordAuthentication = false;
@@ -12,5 +12,6 @@
fish.enable = false;
bash.enable = true;
zsh.enable = true;
};
}