shh
This commit is contained in:
parent
91242683cc
commit
1632f2a062
|
@ -14,5 +14,6 @@
|
|||
./appimage
|
||||
./update
|
||||
./polkit
|
||||
./ssh
|
||||
];
|
||||
}
|
||||
|
|
|
@ -26,5 +26,4 @@
|
|||
time.timeZone = "Europe/Zurich";
|
||||
system.stateVersion = "23.11";
|
||||
home-manager.backupFileExtension = "backup";
|
||||
services.openssh.enable = true;
|
||||
}
|
||||
|
|
|
@ -48,5 +48,6 @@
|
|||
lm_sensors
|
||||
brightnessctl
|
||||
networkmanagerapplet
|
||||
ncdu
|
||||
];
|
||||
}
|
||||
|
|
13
modules/ssh/default.nix
Normal file
13
modules/ssh/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
authorizedKeysFiles = [
|
||||
|
||||
];
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue