diff --git a/home-manager/home.nix b/home-manager/home.nix index e60e182..40ed58d 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -147,6 +147,7 @@ gnome.seahorse lmstudio unstable.arduino-ide + iwgtk ]; services.gnome-keyring = { diff --git a/hosts/thor/configuration.nix b/hosts/thor/configuration.nix index 42aea96..2e6d7cd 100644 --- a/hosts/thor/configuration.nix +++ b/hosts/thor/configuration.nix @@ -23,6 +23,7 @@ ../common ./gui.nix ./bluetooth.nix + ./networking.nix # Import your generated (nixos-generate-config) hardware configuration ./hardware-configuration.nix diff --git a/hosts/thor/networking.nix b/hosts/thor/networking.nix new file mode 100644 index 0000000..e27d73a --- /dev/null +++ b/hosts/thor/networking.nix @@ -0,0 +1,32 @@ +{ + inputs, + outputs, + lib, + config, + pkgs, + ... +}: { + networking.networkmanager.wifi.backend = "iwd"; + + networking.wireless.iwd = { + enable = true; + settings = { + General = { + EnableNetworkConfiguration = true; + UseDefaultInterface = true; + }; + Settings = { + AutoConnect = true; + }; + }; + }; + + # system.activationScripts = { + # rfkillUnblockWlan = { + # text = '' + # rfkill unblock wlan + # ''; + # deps = []; + # }; + # }; +}