From 7e2399ee6360e6c28f0497efa61af3bf4d78f42c Mon Sep 17 00:00:00 2001 From: mehbark Date: Thu, 9 Oct 2025 13:55:03 -0400 Subject: [PATCH] password-auth for the example (don't do this) --- configuration.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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" - ]; }; }