Commit e7f9bb4330f3

Vincent Demeester <vincent@sbr.pm>
2020-06-05 18:06:32
wireguard.server: fix secretPath ๐Ÿ˜“
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 254745c
Changed files (1)
modules/profiles/wireguard.server.nixos.nix
@@ -4,7 +4,7 @@ with lib;
 let
   cfg = config.profiles.wireguard.server;
 
-  secretPath = ../secrets/machines.nix;
+  secretPath = ../../secrets/machines.nix;
   secretCondition = (builtins.pathExists secretPath);
   allowedIPs = lists.optionals secretCondition (import secretPath).wireguard.kerkouane.allowedIPs;
   listenPort = if secretCondition then (import secretPath).wg.listenPort else 0;