about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorazahi <azat@bahawi.net>2024-10-21 16:18:14 +0300
committerazahi <azat@bahawi.net>2024-10-21 16:18:14 +0300
commit589c40482489e4d844ad7e540bf90fec07b9b631 (patch)
tree082cf60cf7ecbe5d8205ff8f5c2c7d36da0aec01 /modules
parent2024-10-21 (diff)
2024-10-21
Diffstat (limited to 'modules')
-rw-r--r--modules/wireguard.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/wireguard.nix b/modules/wireguard.nix
index 8ea360b..fe01a86 100644
--- a/modules/wireguard.nix
+++ b/modules/wireguard.nix
@@ -21,12 +21,12 @@ let
 in
 {
   disabledModules = [
-    "services/networking/wireguard.nix"
     "services/networking/wg-quick.nix"
+    "services/networking/wireguard.nix"
   ];
   imports = [
-    "${inputs.nixpkgs-amneziawg}/nixos/modules/services/networking/wireguard.nix"
     "${inputs.nixpkgs-amneziawg}/nixos/modules/services/networking/wg-quick.nix"
+    "${inputs.nixpkgs-amneziawg}/nixos/modules/services/networking/wireguard.nix"
   ];
 
   options.nixfiles.modules.wireguard = {
@@ -238,7 +238,7 @@ in
         };
 
         services.prometheus.exporters.wireguard = {
-          enable = true;
+          enable = false; # TODO Doesn't work with amneziawg-tools.
           listenAddress = mkDefault this.wireguard.ipv4.address;
           withRemoteIp = true;
           port = 9586;

Consider giving Nix/NixOS a try! <3