Replaced key

This commit is contained in:
Jan-Bulthuis committed 2025-05-30 16:19:12 +02:00
1 parent 0cf53a97cf
commit 3524f6b038
1 file changed
+2 -3
+2 -3
View File
@@ -33,7 +33,6 @@ in
};
# Local user
modules.secrets.secrets."ssh-keys/admin-pub" = { };
modules.secrets.secrets."passwords/local-hashed".neededForUsers = true;
services.getty.autologinUser = "local";
security.sudo.extraRules = [
@@ -46,8 +45,8 @@ in
users.users.local = {
hashedPasswordFile = config.sops.secrets."passwords/local-hashed".path;
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keyFiles = [
config.sops.secrets."ssh-keys/admin-pub".path
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKKxoQSxfYqf9ITN8Fhckk8WbY4dwtBAXOhC9jxihJvq Admin"
];
};