refactor2
This commit is contained in:
parent
701c9d71f0
commit
7fa104b722
30 changed files with 240 additions and 111 deletions
11
system/core/ssh.nix
Normal file
11
system/core/ssh.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{...}: {
|
||||
networking.firewall.allowedTCPPorts = [22];
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [22];
|
||||
settings = {
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue