networking

This commit is contained in:
2024-04-25 11:45:48 +02:00
parent 4691b429eb
commit 3c067e5852
3 changed files with 34 additions and 0 deletions

View File

@@ -147,6 +147,7 @@
gnome.seahorse gnome.seahorse
lmstudio lmstudio
unstable.arduino-ide unstable.arduino-ide
iwgtk
]; ];
services.gnome-keyring = { services.gnome-keyring = {

View File

@@ -23,6 +23,7 @@
../common ../common
./gui.nix ./gui.nix
./bluetooth.nix ./bluetooth.nix
./networking.nix
# Import your generated (nixos-generate-config) hardware configuration # Import your generated (nixos-generate-config) hardware configuration
./hardware-configuration.nix ./hardware-configuration.nix

32
hosts/thor/networking.nix Normal file
View File

@@ -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 = [];
# };
# };
}