about summary refs log tree commit diff
path: root/nixos/alpha/configuration.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-10-21 20:44:05 +0900
committersefidel <contact@sefidel.net>2023-10-21 20:44:05 +0900
commit58dfae07aa10d3ca80e839beef60ba15a909bde2 (patch)
treed7539071af0aa17d8c027f1e100e8832b92e657b /nixos/alpha/configuration.nix
parent92dd9f59caf965133ef8e4b2ad9b187fb75e4463 (diff)
downloadnixrc-58dfae07aa10d3ca80e839beef60ba15a909bde2.tar.gz
nixrc-58dfae07aa10d3ca80e839beef60ba15a909bde2.zip
feat(modules/nm-mullvad)!: deprecate module
* This module has been superseded by Tailscale, and will be deleted.
Diffstat (limited to 'nixos/alpha/configuration.nix')
-rw-r--r--nixos/alpha/configuration.nix27
1 files changed, 0 insertions, 27 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index e1f0793..0005390 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -60,33 +60,6 @@
   networking.useDHCP = false;
   networking.firewall.enable = true;
 
-  sops.secrets.mullvad-private-key = { };
-  sops.secrets.mullvad-ipv4-address = { };
-  sops.secrets.mullvad-ipv6-address = { };
-
-  networking.networkmanager.nm-mullvad = {
-    enable = true;
-
-    listenPort = 51820;
-    openFirewall = true;
-
-    autoConnect = {
-      enable = true;
-      profile = "jp-tyo-wg-001";
-    };
-
-    availableServers = [
-      "jp-tyo-wg-001"
-      "jp-osa-wg-002"
-      "se-mma-wg-001"
-      "se-sto-wg-002"
-    ];
-
-    privateKeyPath = config.sops.secrets.mullvad-private-key.path;
-    ipv4AddressPath = config.sops.secrets.mullvad-ipv4-address.path;
-    ipv6AddressPath = config.sops.secrets.mullvad-ipv6-address.path;
-  };
-
   programs.nm-applet.enable = true;
 
   i18n.defaultLocale = "en_US.UTF-8";