fixes and formatting
This commit is contained in:
parent
a6c96c23ae
commit
80cf48f1e8
1 changed files with 739 additions and 1103 deletions
|
|
@ -1,14 +1,15 @@
|
|||
let
|
||||
port = 2222;
|
||||
in {
|
||||
networking.firewall.allowedTCPPorts = [port];
|
||||
in
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ port ];
|
||||
users.users.quadradical.openssh.authorizedKeys.keys = import ../../secrets/keys.nix;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [port];
|
||||
ports = [ port ];
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
AllowUsers = ["quadradical"];
|
||||
AllowUsers = [ "quadradical" ];
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue