diff --git a/nixos/lavender/.configuration.nix.swp b/nixos/lavender/.configuration.nix.swp deleted file mode 100644 index 33e14e1..0000000 Binary files a/nixos/lavender/.configuration.nix.swp and /dev/null differ diff --git a/nixos/lavender/configuration.nix b/nixos/lavender/configuration.nix index c7e76e6..593fbd4 100644 --- a/nixos/lavender/configuration.nix +++ b/nixos/lavender/configuration.nix @@ -119,6 +119,7 @@ users.users.admin = { isNormalUser = true; extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + openssh.authorizedKeys.keyFiles = [ ../fuchsia/id_ed25519_sk.pub ]; }; # List packages installed in system profile. To search, run: @@ -144,6 +145,7 @@ services.openssh = { enable = true; permitRootLogin = "no"; + passwordAuthentication = false; }; # Open ports in the firewall.