my over complex system configurations
dotfiles.isabelroses.com/
nixos
nix
flake
dotfiles
linux
1{
2 # enable wireless database, it helps keeping wifi speedy
3 hardware.wirelessRegulatoryDatabase = true;
4
5 networking.wireless = {
6 # wpa_supplicant
7 userControlled.enable = true;
8 allowAuxiliaryImperativeNetworks = true;
9 extraConfig = ''
10 update_config=1
11 '';
12
13 # iwd
14 iwd.settings = {
15 Settings.AutoConnect = true;
16
17 General = {
18 # NOTE: networkmnager cannot control iwd address randomisation, so we
19 # have to set it manually here
20 #
21 # more things that my uni hates me for
22 # AddressRandomization = "network";
23 # AddressRandomizationRange = "full";
24
25 EnableNetworkConfiguration = true;
26 RoamRetryInterval = 15;
27 };
28 };
29 };
30}