From 58dfae07aa10d3ca80e839beef60ba15a909bde2 Mon Sep 17 00:00:00 2001
From: sefidel <contact@sefidel.net>
Date: Sat, 21 Oct 2023 20:44:05 +0900
Subject: feat(modules/nm-mullvad)!: deprecate module

* This module has been superseded by Tailscale, and will be deleted.
---
 nixos/haruka/configuration.nix | 27 ---------------------------
 1 file changed, 27 deletions(-)

(limited to 'nixos/haruka')

diff --git a/nixos/haruka/configuration.nix b/nixos/haruka/configuration.nix
index 2cdba6b..20c7e36 100644
--- a/nixos/haruka/configuration.nix
+++ b/nixos/haruka/configuration.nix
@@ -64,33 +64,6 @@
   networking.networkmanager.enable = true;
   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";
-- 
cgit 1.4.1