[louise] misc

This commit is contained in:
System administrator
2023-11-13 20:46:58 +01:00
parent c80ffaaa96
commit 1873a4658e
3 changed files with 1 additions and 5 deletions

View File

@@ -12,8 +12,6 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
services.openssh.enable = true;
services.openssh.settings.PermitRootLogin = "no";
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
users.users.malobeo = { users.users.malobeo = {
@@ -48,8 +46,6 @@
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
system.stateVersion = "23.05"; # Do.. Not.. Change.. system.stateVersion = "23.05"; # Do.. Not.. Change..
} }

View File

@@ -8,7 +8,6 @@ in
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = sshKeys.admins; openssh.authorizedKeys.keys = sshKeys.admins;
initialPassword = "test"; initialPassword = "test";
}; };
} }

View File

@@ -7,5 +7,6 @@ in
services.openssh.enable = true; services.openssh.enable = true;
services.openssh.ports = [ 22 ]; services.openssh.ports = [ 22 ];
services.openssh.passwordAuthentication = false; services.openssh.passwordAuthentication = false;
services.openssh.settings.PermitRootLogin = "no";
users.users.root.openssh.authorizedKeys.keys = sshKeys.admins; users.users.root.openssh.authorizedKeys.keys = sshKeys.admins;
} }