foo
This commit is contained in:
commit
9742bed033
15 changed files with 355 additions and 35 deletions
|
|
@ -21,9 +21,12 @@ in
|
|||
#keyFile = config.age.secrets.etcd_server_key.path;
|
||||
#certFile = config.age.secrets.etcd_server_key.path;
|
||||
};
|
||||
<<<<<<< HEAD
|
||||
|
||||
networking.firewall.extraInputRules = ''
|
||||
ip6 saddr {${controlPlaneIpSet} ip6 daddr ${ip} tcp dport 2380 accept comment "Allow etcd peers"
|
||||
ip6 saddr {${controlPlaneIpSet} ip6 daddr ${ip} tcp dport 2379 accept comment "Allow etcd clients"
|
||||
'';
|
||||
=======
|
||||
>>>>>>> b9de4f3c256492a785e296898739a5e4674025fc
|
||||
}
|
||||
|
|
|
|||
16
services/openssh.nix
Normal file
16
services/openssh.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
ports = [ 10022 ];
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue