Remove redundant options from networking module
This commit is contained in:
parent
52a1cbd382
commit
0d3da95ae2
@ -42,7 +42,6 @@ in
|
|||||||
protocol = "duckdns";
|
protocol = "duckdns";
|
||||||
domains = [ "coolneng.duckdns.org" ];
|
domains = [ "coolneng.duckdns.org" ];
|
||||||
passwordFile = config.age.secrets.ddclient.path;
|
passwordFile = config.age.secrets.ddclient.path;
|
||||||
extraConfig = "";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Firewall configuration
|
# Firewall configuration
|
||||||
@ -58,11 +57,6 @@ in
|
|||||||
wireguard_port # Wireguard
|
wireguard_port # Wireguard
|
||||||
53 # DNS
|
53 # DNS
|
||||||
];
|
];
|
||||||
extraCommands = ''
|
|
||||||
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o ${
|
|
||||||
config.systemd.network.networks."24-home".name
|
|
||||||
} -j MASQUERADE
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Wireguard setup
|
# Wireguard setup
|
||||||
@ -110,7 +104,11 @@ in
|
|||||||
bogus-priv = true;
|
bogus-priv = true;
|
||||||
no-resolv = true;
|
no-resolv = true;
|
||||||
|
|
||||||
listen-address = [ "127.0.0.1" "192.168.13.2" "10.8.0.1" ];
|
listen-address = [
|
||||||
|
"127.0.0.1"
|
||||||
|
"192.168.13.2"
|
||||||
|
"10.8.0.1"
|
||||||
|
];
|
||||||
bind-interfaces = true;
|
bind-interfaces = true;
|
||||||
server = [ "127.0.0.1#43" ];
|
server = [ "127.0.0.1#43" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user