From 58a9b41ddbdcf397580a8ba0df87a971221e3845 Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 16 Mar 2026 15:37:01 +0100 Subject: Configure Wolfram network with systemd-networkd and disable hardware offloading for RTL8125 Signed-off-by: Mel --- modules/wireless.nix | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'modules') diff --git a/modules/wireless.nix b/modules/wireless.nix index 89d8b65..beb0955 100644 --- a/modules/wireless.nix +++ b/modules/wireless.nix @@ -5,21 +5,17 @@ file = ../secrets/wireless-secrets.age; }; - networking = { - useDHCP = true; + networking.wireless = { + enable = true; - wireless = { - enable = true; + # force wpa_supplicant to use all wlan interfaces + interfaces = lib.mkForce [ ]; - # force wpa_supplicant to use all wlan interfaces - interfaces = lib.mkForce [ ]; - - secretsFile = config.age.secrets.wireless-secrets.path; - networks = { - # yea this is my home network :3 - # (my boyfriends brother picked the name) - "Das asoziale Netzwerk".pskRaw = "ext:psk_home"; - }; + secretsFile = config.age.secrets.wireless-secrets.path; + networks = { + # yea this is my home network :3 + # (my boyfriends brother picked the name) + "Das asoziale Netzwerk".pskRaw = "ext:psk_home"; }; }; } -- cgit 1.4.1