diff --git a/machines/louise/configuration.nix b/machines/louise/configuration.nix index 1e6f994..59ea2e2 100644 --- a/machines/louise/configuration.nix +++ b/machines/louise/configuration.nix @@ -12,8 +12,6 @@ boot.loader.systemd-boot.enable = true; - services.openssh.enable = true; - services.openssh.settings.PermitRootLogin = "no"; nix.settings.experimental-features = [ "nix-command" "flakes" ]; users.users.malobeo = { @@ -48,8 +46,6 @@ hardware.pulseaudio.enable = true; time.timeZone = "Europe/Berlin"; - system.stateVersion = "23.05"; # Do.. Not.. Change.. - } diff --git a/machines/modules/malobeo_user.nix b/machines/modules/malobeo_user.nix index 33095e8..b0a3189 100644 --- a/machines/modules/malobeo_user.nix +++ b/machines/modules/malobeo_user.nix @@ -8,7 +8,6 @@ in isNormalUser = true; extraGroups = [ "wheel" ]; openssh.authorizedKeys.keys = sshKeys.admins; - initialPassword = "test"; }; } diff --git a/machines/modules/sshd.nix b/machines/modules/sshd.nix index ce079b6..25109ce 100644 --- a/machines/modules/sshd.nix +++ b/machines/modules/sshd.nix @@ -7,5 +7,6 @@ in services.openssh.enable = true; services.openssh.ports = [ 22 ]; services.openssh.passwordAuthentication = false; + services.openssh.settings.PermitRootLogin = "no"; users.users.root.openssh.authorizedKeys.keys = sshKeys.admins; }