diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2021-01-10 12:35:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-10 12:35:25 +0000 |
commit | b815fb2fd951f5fe805feb90787621bf03d3efff (patch) | |
tree | 4028061656e96c8b2133bf1a02b7bf2c35ed968a /nixos/modules | |
parent | ad97cdf81d1889492f71ae421b98d6db9f982a36 (diff) | |
parent | 86b3251c8024cc61cdc6f57cf0b3b60480358a47 (diff) |
Merge pull request #105775 from xaverdh/iwd-link-unit
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/iwd.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/iwd.nix b/nixos/modules/services/networking/iwd.nix index 6be67a8b96f4d..99e5e78badd28 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" ]; }; |