summary refs log tree commit diff
path: root/nixos/modules/services/networking/iwd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/iwd.nix')
-rw-r--r--nixos/modules/services/networking/iwd.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/iwd.nix b/nixos/modules/services/networking/iwd.nix
index 6be67a8b96f..99e5e78badd 100644
--- a/nixos/modules/services/networking/iwd.nix
+++ b/nixos/modules/services/networking/iwd.nix
@@ -22,6 +22,11 @@ in {
 
     systemd.packages = [ pkgs.iwd ];
 
+    systemd.network.links."80-iwd" = {
+      matchConfig.Type = "wlan";
+      linkConfig.NamePolicy = "keep kernel";
+    };
+
     systemd.services.iwd.wantedBy = [ "multi-user.target" ];
   };