From 6fcfdccd3adb3b07fe57b88162bcc70ee02a2a1c Mon Sep 17 00:00:00 2001 From: robert jakub Date: Sun, 24 Nov 2024 11:44:53 +0100 Subject: [PATCH] enable wpa_supplicant in example config --- uconsole/configs/local.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/uconsole/configs/local.nix b/uconsole/configs/local.nix index d78d8f7..90c732f 100644 --- a/uconsole/configs/local.nix +++ b/uconsole/configs/local.nix @@ -1,4 +1,6 @@ -{pkgs, ...}: { +{pkgs, lib, ...}: let + inherit (lib) mkOverride; +in { nix.distributedBuilds = false; nix.settings = { substituters = ["https://cache-nix.project2.xyz/uconsole"]; @@ -13,10 +15,15 @@ wirelesstools iw gitMinimal - wpa_supplicant - eiwd ]; + networking.wireless = { + userControlled.enable = true; + enable = true; + }; + systemd.services.wpa_supplicant.wantedBy = mkOverride 50 []; + networking.networkmanager.enable = false; + users.users.oom = { isNormalUser = true; extraGroups = ["wheel"];