dedupe ssh config
This commit is contained in:
parent
f0fca1bad4
commit
01cc32ee50
1 changed files with 19 additions and 40 deletions
|
|
@ -1,12 +1 @@
|
|||
{
|
||||
users.users.quadradical.openssh.authorizedKeys.keys = import ../../secrets/keys.nix;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
AllowUsers = [ "quadradical" ];
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
}
|
||||
{ quad.ssh.enable = true; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue