devos/profiles/ssh/default.nix

13 lines
233 B
Nix
Raw Normal View History

2021-04-06 13:37:40 +02:00
{ ... }: {
services.openssh = {
enable = true;
2023-03-19 14:38:34 +01:00
settings = {
X11Forwarding = true;
PermitRootLogin = "no";
PasswordAuthentication = false;
};
2021-04-06 13:37:40 +02:00
startWhenNeeded = true;
2021-07-07 12:55:16 +02:00
openFirewall = true;
2021-04-06 13:37:40 +02:00
};
}