diff options
| -rw-r--r-- | hosts/iso/default.nix | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/hosts/iso/default.nix b/hosts/iso/default.nix index f96a593..b115106 100644 --- a/hosts/iso/default.nix +++ b/hosts/iso/default.nix @@ -8,19 +8,12 @@ "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" ]; - nix.settings.trusted-users = [ "@wheel" ]; users = { - users.isabella = { - isNormalUser = true; - description = "Isabella Morgana Bastaja"; - extraGroups = [ "wheel" ]; - initialPassword = "isabella"; - openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM4aG8NI25TgjcDevjsY/Y6d3iYsQxSEtIpsqprMHmad osiris@underworld" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPUcWGKF3uIf/gqbo1/lxb8XLoi67Bc2tVi1Bd/Ddhoz isabella@wonderland" - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEvtzeVHgenfSUrpZeyZBoBTzN96rdYMy3KEJoRXja0O isabella@nyaan" - ]; - }; + users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM4aG8NI25TgjcDevjsY/Y6d3iYsQxSEtIpsqprMHmad osiris@underworld" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPUcWGKF3uIf/gqbo1/lxb8XLoi67Bc2tVi1Bd/Ddhoz isabella@wonderland" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEvtzeVHgenfSUrpZeyZBoBTzN96rdYMy3KEJoRXja0O isabella@nyaan" + ]; mutableUsers = false; }; console.keyMap = "us"; @@ -30,11 +23,9 @@ ports = [ 22 ]; openFirewall = true; settings = { - PermitRootLogin = "no"; + PermitRootLogin = "yes"; PasswordAuthentication = false; - AllowUsers = [ - "isabella" - ]; + AllowUsers = [ "root" ]; }; }; |
