about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
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