Fri Jul 5 12:32:30 AM CEST 2024

This commit is contained in:
Thomas Avé 2024-07-05 00:32:30 +02:00
parent 09ea39f9b5
commit 7c025957f3
2 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@
address = [ "10.0.0.5/24" "2a02:a03f:83ad:2101::5/128" ];
privateKeyFile = "/home/user/.secrets/Wireguard/Aloria.key";
listenPort = 51820;
postUp = "resolvectl dns wg0 10.0.0.1; resolvectl domain wg0 ~thomasave.be;";
# postUp = "resolvectl dns wg0 10.0.0.1; resolvectl domain wg0 ~thomasave.be;";
peers = [{
publicKey = "/9ppjm3yeD0duDvxrqgcHscHmftXko+0s2RbivNEy2c=";
allowedIPs = [ "10.0.0.1/8" "192.168.1.2/32" ];

View File

@ -47,10 +47,10 @@
};
};
services.resolved = {
enable = true;
fallbackDns = [ "1.1.1.1" "1.0.0.1" ];
};
# services.resolved = {
# enable = true;
# fallbackDns = [ "1.1.1.1" "1.0.0.1" ];
# };
fileSystems."/home/server" = {
device = "192.168.1.2:/home/server";