refactor
This commit is contained in:
parent
4143db478b
commit
bf62eaece2
11 changed files with 160 additions and 174 deletions
13
nixos/common/global/ssh.nix
Normal file
13
nixos/common/global/ssh.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
ports = [ 48654 ];
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue