Replaced key

This commit is contained in:
Jan-Bulthuis 2025-05-30 16:19:12 +02:00
parent 0cf53a97cf
commit 3524f6b038

View File

@ -33,7 +33,6 @@ in
}; };
# Local user # Local user
modules.secrets.secrets."ssh-keys/admin-pub" = { };
modules.secrets.secrets."passwords/local-hashed".neededForUsers = true; modules.secrets.secrets."passwords/local-hashed".neededForUsers = true;
services.getty.autologinUser = "local"; services.getty.autologinUser = "local";
security.sudo.extraRules = [ security.sudo.extraRules = [
@ -46,8 +45,8 @@ in
users.users.local = { users.users.local = {
hashedPasswordFile = config.sops.secrets."passwords/local-hashed".path; hashedPasswordFile = config.sops.secrets."passwords/local-hashed".path;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
openssh.authorizedKeys.keyFiles = [ openssh.authorizedKeys.keys = [
config.sops.secrets."ssh-keys/admin-pub".path "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKKxoQSxfYqf9ITN8Fhckk8WbY4dwtBAXOhC9jxihJvq Admin"
]; ];
}; };