about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-05-19 22:49:54 +0100
committerGitHub <noreply@github.com>2018-05-19 22:49:54 +0100
commit8bcec815bdecdb7a6094ec538860c08b23410378 (patch)
treea38dcb067c9ebbd690b7ab2c8ba6f65ab64eb280 /nixos
parentb998139b85a7db6f35b2ccdf4d091d889649ebc8 (diff)
parentf8ed43e600228ab415866d4938703fa5eaa7b121 (diff)
Merge pull request #40744 from kirelagin/wireguard-darwin
WireGuard: Make tools available on other platforms
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/wireguard.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/wireguard.nix b/nixos/modules/services/networking/wireguard.nix
index 0591917c74238..acb4778d8485f 100644
--- a/nixos/modules/services/networking/wireguard.nix
+++ b/nixos/modules/services/networking/wireguard.nix
@@ -193,7 +193,7 @@ let
         after = [ "network.target" ];
         wantedBy = [ "multi-user.target" ];
         environment.DEVICE = name;
-        path = with pkgs; [ kmod iproute wireguard ];
+        path = with pkgs; [ kmod iproute wireguard-tools ];
 
         serviceConfig = {
           Type = "oneshot";
@@ -279,7 +279,7 @@ in
   config = mkIf (cfg.interfaces != {}) {
 
     boot.extraModulePackages = [ kernel.wireguard ];
-    environment.systemPackages = [ pkgs.wireguard ];
+    environment.systemPackages = [ pkgs.wireguard-tools ];
 
     systemd.services = mapAttrs' generateUnit cfg.interfaces;