diff --git a/flake.nix b/flake.nix index 77b785a..588096f 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 96 current 2025-10-08 15:53:50 25.05.20251006.20c4598 6.12.50 * +# generation: 98 current 2025-10-08 16:21:15 25.05.20251006.20c4598 6.12.50 * { description = "blakes nix config"; inputs = { diff --git a/hosts/snowbelle/configuration.nix b/hosts/snowbelle/configuration.nix index 28b066e..5e42693 100644 --- a/hosts/snowbelle/configuration.nix +++ b/hosts/snowbelle/configuration.nix @@ -19,7 +19,7 @@ syncthing.enable = true; tailscale.enable = true; vpns.enable = true; - vpns.wg_mex = true; + vpns.wg_mex = false; nvidia.enable = true; }; homelab = { diff --git a/modules/system/vpns.nix b/modules/system/vpns.nix index 3aaf0ba..2400bf0 100644 --- a/modules/system/vpns.nix +++ b/modules/system/vpns.nix @@ -34,11 +34,12 @@ in }; # enable mullvad mexico w/ wireguard - networking.wireguard.interfaces = lib.mkIf cfg.wg_mex { + networking.wg-quick.interfaces = lib.mkIf cfg.wg_mex { wg_mex = { # client settings privateKeyFile = config.sops.secrets."wg_mex_key".path; - ips = [ "10.74.252.231/32" "fc00:bbbb:bbbb:bb01::b:fce6/128" ]; + address = [ "10.74.252.231/32" "fc00:bbbb:bbbb:bb01::b:fce6/128" ]; + dns = [ "10.64.0.1" ]; # remote settings peers = [ { publicKey = "yxyntWsANEwxeR0pOPNAcfWY7zEVICZe9G+GxortzEY=";