diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-07-29 06:54:49 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-07-29 06:54:49 -0500 |
| commit | e29dd8a2283399b7e046937340509d5aec4b52ba (patch) | |
| tree | aa679e70fe55cb620698ab1695eadf23f8a2cdba /modules/networking/nixos/iwd.nix | |
| parent | d2aecd69c17fa64305c07333686576152432993d (diff) | |
changes
Diffstat (limited to 'modules/networking/nixos/iwd.nix')
| -rw-r--r-- | modules/networking/nixos/iwd.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/networking/nixos/iwd.nix b/modules/networking/nixos/iwd.nix new file mode 100644 index 0000000..0c5bdfa --- /dev/null +++ b/modules/networking/nixos/iwd.nix @@ -0,0 +1,23 @@ +{ + lib, + config, + ... +}: let + cfg = config.collinux.system.network; + enabled = cfg.wireless.dynamic; +in + lib.mkIf enabled { + networking = { + wireless.iwd = { + enable = true; + settings = { + General = { + EnableNetworkConfiguration = false; # always let networkd handle this + AddressRandomization = "once"; + AddressRandomizationRange = "full"; + }; + Network.NameResolvingService = "systemd"; # either systemd or resolvconf + }; + }; + }; + } |
