diff --git a/hosts/rico1/wireguard.nix b/hosts/rico1/wireguard.nix index c813f0d..7201e97 100644 --- a/hosts/rico1/wireguard.nix +++ b/hosts/rico1/wireguard.nix @@ -11,11 +11,15 @@ in enable = true; interfaces = { wg0 = { - inherit (peers."${config.networking.hostName}") ips listenPort; + ips = [ + "10.8.1.3/24" + "fdd9:69ae:9703::3/64" + ]; + listenPort = 51821; privateKeyFile = "/etc/wireguard/private.key"; generatePrivateKeyFile = true; peers = with peers; [ - Proxy.peer + Proxy ]; }; }; diff --git a/hosts/rico2/services/adtya.xyz.nix b/hosts/rico2/services/adtya.xyz.nix index 633e43c..42d806e 100644 --- a/hosts/rico2/services/adtya.xyz.nix +++ b/hosts/rico2/services/adtya.xyz.nix @@ -1,6 +1,5 @@ { pkgs , adtyaxyz -, secrets , ... }: let @@ -25,7 +24,7 @@ in handle /.well-known/discord { header Access-Control-Allow-Origin * - respond `${secrets.discord_domain_well_known}` + respond `dh=bd67bb4659b662a5ee2b1b043e7b3171b2cb44bd` } handle { diff --git a/hosts/rico2/wireguard.nix b/hosts/rico2/wireguard.nix index c813f0d..3581e8d 100644 --- a/hosts/rico2/wireguard.nix +++ b/hosts/rico2/wireguard.nix @@ -11,11 +11,15 @@ in enable = true; interfaces = { wg0 = { - inherit (peers."${config.networking.hostName}") ips listenPort; + ips = [ + "10.8.1.4/24" + "fdd9:69ae:9703::4/64" + ]; + listenPort = 51821; privateKeyFile = "/etc/wireguard/private.key"; generatePrivateKeyFile = true; peers = with peers; [ - Proxy.peer + Proxy ]; }; }; diff --git a/hosts/skipper/wireguard.nix b/hosts/skipper/wireguard.nix index c813f0d..c49e1fa 100644 --- a/hosts/skipper/wireguard.nix +++ b/hosts/skipper/wireguard.nix @@ -11,11 +11,15 @@ in enable = true; interfaces = { wg0 = { - inherit (peers."${config.networking.hostName}") ips listenPort; + ips = [ + "10.8.1.2/24" + "fdd9:69ae:9703::2/64" + ]; + listenPort = 51821; privateKeyFile = "/etc/wireguard/private.key"; generatePrivateKeyFile = true; peers = with peers; [ - Proxy.peer + Proxy ]; }; }; diff --git a/secrets.nix b/secrets.nix index 84e0dce..4884c74 100644 Binary files a/secrets.nix and b/secrets.nix differ