96 current 2025-10-08 15:53:50 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# flake for blakes nixos config
|
||||
# define new devices in outputs
|
||||
# generation: 95 current 2025-10-08 14:44:19 25.05.20251006.20c4598 6.12.50 *
|
||||
# generation: 96 current 2025-10-08 15:53:50 25.05.20251006.20c4598 6.12.50 *
|
||||
{
|
||||
description = "blakes nix config";
|
||||
inputs = {
|
||||
|
||||
@@ -34,7 +34,7 @@ in
|
||||
};
|
||||
|
||||
# enable mullvad mexico w/ wireguard
|
||||
networking.wireguard.interfaces = lib.mkIf cfg.wg_pia_mexico {
|
||||
networking.wireguard.interfaces = lib.mkIf cfg.wg_mex {
|
||||
wg_mex = {
|
||||
# client settings
|
||||
privateKeyFile = config.sops.secrets."wg_mex_key".path;
|
||||
@@ -46,10 +46,10 @@ in
|
||||
endpoint = "149.88.22.129:51820";
|
||||
persistentKeepalive = 25;
|
||||
} ];
|
||||
postSetup = ''
|
||||
# Remove default route that wg might add
|
||||
ip route del default dev wg-mullvad 2>/dev/null || true
|
||||
'';
|
||||
#postSetup = ''
|
||||
# # Remove default route that wg might add
|
||||
# ip route del default dev wg-mullvad 2>/dev/null || true
|
||||
#'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user