feat: stuff

This commit is contained in:
2025-08-09 17:32:33 +02:00
parent 75e460293c
commit 5c9bf6838c
4 changed files with 26 additions and 0 deletions

View File

@@ -108,6 +108,18 @@
'';
security.tpm2.enable = true;
users.defaultUserShell = pkgs.zsh;
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
users.users.root.openssh.authorizedKeys.keys = [
(builtins.readFile ../../admins/theaninova.id_ed25519_sk.pub)
];
users.users.${username} = {
isNormalUser = true;
extraGroups = [