Tue Jun 4 11:42:15 PM CEST 2024

This commit is contained in:
Thomas Avé 2024-06-04 23:42:15 +02:00
parent a82119b8da
commit a0c5c0ea56
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ inputs, pkgs, ... }: { pkgs, ... }:
{ {
services.pcscd.enable = true; services.pcscd.enable = true;
@ -17,14 +17,14 @@
networking.wg-quick.interfaces = { networking.wg-quick.interfaces = {
wg0 = { wg0 = {
address = [ "10.0.0.5/24" " 2a02:a03f:83ad:2101::5/128" ]; address = [ "10.0.0.5/24" "2a02:a03f:83ad:2101::5/128" ];
dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ]; dns = [ "10.0.0.1" "fdc9:281f:04d7:9ee9::1" ];
privateKeyFile = "/home/user/.secrets/Wireguard/Aloria.key"; privateKeyFile = "/home/user/.secrets/Wireguard/Aloria.key";
listenPort = 51820; listenPort = 51820;
postSetup = "resolvectl dns %i 10.0.0.1; resolvectl domain %i ~thomasave.be;"; postSetup = "resolvectl dns %i 10.0.0.1; resolvectl domain %i ~thomasave.be;";
peers = [{ peers = [{
publicKey = "/9ppjm3yeD0duDvxrqgcHscHmftXko+0s2RbivNEy2c="; publicKey = "/9ppjm3yeD0duDvxrqgcHscHmftXko+0s2RbivNEy2c=";
allowedIPs = [ "10.0.0.1/8", "192.168.1.2/32" ]; allowedIPs = [ "10.0.0.1/8" "192.168.1.2/32" ];
endpoint = "h.thomasave.be:13231"; endpoint = "h.thomasave.be:13231";
persistentKeepalive = 25; persistentKeepalive = 25;
}]; }];