summary refs log tree commit diff
path: root/nixos/modules/services/networking/wireguard.nix
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2021-03-14 17:05:16 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2021-04-04 01:43:46 +0200
commit9378fdf87e0626e8c63a90a378c38444ff54808b (patch)
treea177c25e5f9b1bb63916f3d901a4da6c289245e5 /nixos/modules/services/networking/wireguard.nix
parentdd9862ba9831195f58421a7ff23388c92cd5a8e5 (diff)
downloadnixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.tar
nixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.tar.gz
nixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.tar.bz2
nixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.tar.lz
nixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.tar.xz
nixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.tar.zst
nixpkgs-9378fdf87e0626e8c63a90a378c38444ff54808b.zip
iproute: deprecate alias
Diffstat (limited to 'nixos/modules/services/networking/wireguard.nix')
-rw-r--r--nixos/modules/services/networking/wireguard.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/networking/wireguard.nix b/nixos/modules/services/networking/wireguard.nix
index 9f76f7f7cd0..34c86934535 100644
--- a/nixos/modules/services/networking/wireguard.nix
+++ b/nixos/modules/services/networking/wireguard.nix
@@ -63,7 +63,7 @@ let
 
       preSetup = mkOption {
         example = literalExample ''
-          ${pkgs.iproute}/bin/ip netns add foo
+          ${pkgs.iproute2}/bin/ip netns add foo
         '';
         default = "";
         type = with types; coercedTo (listOf str) (concatStringsSep "\n") lines;
@@ -278,7 +278,7 @@ let
         wantedBy = [ "multi-user.target" "wireguard-${interfaceName}.service" ];
         environment.DEVICE = interfaceName;
         environment.WG_ENDPOINT_RESOLUTION_RETRIES = "infinity";
-        path = with pkgs; [ iproute wireguard-tools ];
+        path = with pkgs; [ iproute2 wireguard-tools ];
 
         serviceConfig = {
           Type = "oneshot";
@@ -333,7 +333,7 @@ let
         after = [ "network.target" "network-online.target" ];
         wantedBy = [ "multi-user.target" ];
         environment.DEVICE = name;
-        path = with pkgs; [ kmod iproute wireguard-tools ];
+        path = with pkgs; [ kmod iproute2 wireguard-tools ];
 
         serviceConfig = {
           Type = "oneshot";