Lithium clatd test
This commit is contained in:
parent
cc54b4ba49
commit
17a2b2a14b
1 changed files with 5 additions and 2 deletions
|
@ -3,8 +3,6 @@
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "lithium";
|
hostName = "lithium";
|
||||||
|
|
||||||
firewall.allowedUDPPorts = [ 51820 ];
|
|
||||||
|
|
||||||
wg-quick.interfaces = {
|
wg-quick.interfaces = {
|
||||||
wg0 = {
|
wg0 = {
|
||||||
autostart = true;
|
autostart = true;
|
||||||
|
@ -38,6 +36,11 @@
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = "1s";
|
RestartSec = "1s";
|
||||||
};
|
};
|
||||||
|
services.clatd = {
|
||||||
|
enable = true;
|
||||||
|
settings.clat-v6-addr = "2001:14ba:a08c:2df0::f3";
|
||||||
|
};
|
||||||
|
systemd.services.clatd.wants = [ "wg-quick-wg0.service" ];
|
||||||
|
|
||||||
services.openssh.enable = pkgs.lib.mkForce false;
|
services.openssh.enable = pkgs.lib.mkForce false;
|
||||||
services.fail2ban.enable = pkgs.lib.mkForce false;
|
services.fail2ban.enable = pkgs.lib.mkForce false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue