diff --git a/flake.nix b/flake.nix index 1a3d915..85b28a3 100644 --- a/flake.nix +++ b/flake.nix @@ -27,7 +27,6 @@ outputs = { self, sops-nix, nixpkgs, srvos, disko, ... }@inputs: let linuxMachineName = "linux"; - sshPubKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBsUe5YF5z8vGcEYtQX7AAiw2rJygGf2l7xxr8nZZa7w"; lib = nixpkgs.lib; inherit (self) outputs; in { @@ -47,7 +46,11 @@ { boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "aarch64-linux"; - users.users.root.openssh.authorizedKeys.keys = [ sshPubKey ]; + users.users.root.openssh.authorizedKeys.keys = + [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBsUe5YF5z8vGcEYtQX7AAiw2rJygGf2l7xxr8nZZa7w jahanson@legiondary" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJyA/yMPPo+scxBaDFUk7WeEyMAMhXUro5vi4feOKsJT jahanson@durincore" + ]; services.openssh.enable = true; services.openssh.settings.PermitRootLogin = "without-password"; }];