diff --git a/configuration.nix b/configuration.nix index ecb51f6..97dc4b8 100644 --- a/configuration.nix +++ b/configuration.nix @@ -6,11 +6,9 @@ system.stateVersion = "24.11"; - security.sudo.wheelNeedsPassword = false; - services.openssh = { enable = true; - settings.PasswordAuthentication = false; + settings.PasswordAuthentication = true; }; users.users.example = { @@ -18,8 +16,5 @@ description = "example"; extraGroups = [ "networkmanager" "wheel" ]; initialPassword = "hunter2"; - openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICyTxPV3S7ms0AJ0tduI3aJP3o2TJCnkirWKaj5i1+DW" - ]; }; }