This commit is contained in:
joy 2024-08-18 14:59:43 +02:00
parent 91242683cc
commit 1632f2a062
4 changed files with 15 additions and 1 deletions

View file

@ -14,5 +14,6 @@
./appimage ./appimage
./update ./update
./polkit ./polkit
./ssh
]; ];
} }

View file

@ -26,5 +26,4 @@
time.timeZone = "Europe/Zurich"; time.timeZone = "Europe/Zurich";
system.stateVersion = "23.11"; system.stateVersion = "23.11";
home-manager.backupFileExtension = "backup"; home-manager.backupFileExtension = "backup";
services.openssh.enable = true;
} }

View file

@ -48,5 +48,6 @@
lm_sensors lm_sensors
brightnessctl brightnessctl
networkmanagerapplet networkmanagerapplet
ncdu
]; ];
} }

13
modules/ssh/default.nix Normal file
View file

@ -0,0 +1,13 @@
{ ... }:
{
services.openssh = {
enable = true;
authorizedKeysFiles = [
];
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
}