Compare commits

..

No commits in common. "68d7c22549d4f98ed85d13a1c3cb4934720db986" and "e3e91bc934293170f0a45329bdd9b141d41287e8" have entirely different histories.

2 changed files with 4 additions and 8 deletions

1
.dir-locals.el Normal file
View File

@ -0,0 +1 @@
((nil . ((ssh-deploy-root-remote . "/ssh:zion:/home/coolneng/system"))))

View File

@ -24,7 +24,7 @@ in
systemd.network.networks."24-home" = {
name = "enp2s0";
matchConfig.Name = "enp2s0";
address = [ "192.168.128.2/23" ];
address = [ "192.168.129.2/23" ];
gateway = [ "192.168.128.1" ];
dns = [
"1.1.1.1"
@ -56,11 +56,6 @@ in
wireguard_port # Wireguard
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
@ -109,7 +104,7 @@ in
listen-address = [
"127.0.0.1"
"192.168.128.2"
"192.168.129.2"
"10.8.0.1"
];
bind-interfaces = true;
@ -121,7 +116,7 @@ in
conf-file = "${pkgs.dnsmasq}/share/dnsmasq/trust-anchors.conf";
dnssec = false;
address = "/coolneng.duckdns.org/192.168.128.2";
address = "/coolneng.duckdns.org/192.168.129.2";
};
};