fix: add GNOME network settings and iwd WiFi backend

- Add gnome-control-center for GNOME Settings network panel
- Add iwd (iNet wireless daemon) for better WiFi support
- Enable iwd service and configure NetworkManager to use it
- This should make WiFi options visible in GNOME settings

Test in VM first with 'make vm' before building new ISO
This commit is contained in:
2025-09-16 00:49:21 +02:00
parent 629fe7f583
commit 9acf7c3deb
2 changed files with 7 additions and 2 deletions

View File

@@ -54,6 +54,7 @@ This file provides guidelines for AI coding agents operating within this reposit
- Document complex logic with comments - Document complex logic with comments
- Test locally before cloud deployment - Test locally before cloud deployment
- Maintain feature parity between USB/VM environments where possible - Maintain feature parity between USB/VM environments where possible
- **ALWAYS check package existence on search.nixos.org before adding new packages**
## ⚠️ Critical Warnings ## ⚠️ Critical Warnings

View File

@@ -12,8 +12,6 @@ let
isoImage = { isoImage = {
makeEfiBootable = true; makeEfiBootable = true;
makeUsbBootable = true; makeUsbBootable = true;
# Custom boot menu label for workshop
label = "CODECRISPIES_WORKSHOP";
}; };
}; };
@@ -236,6 +234,7 @@ isoConfig
networking = { networking = {
networkmanager = { networkmanager = {
enable = true; enable = true;
wifi.backend = "iwd"; # Use iwd backend for better WiFi support
dns = "none"; # We use dnsmasq dns = "none"; # We use dnsmasq
ensureProfiles = { ensureProfiles = {
environmentFiles = [ "/etc/NetworkManager/workshop-wifi.env" ]; environmentFiles = [ "/etc/NetworkManager/workshop-wifi.env" ];
@@ -298,6 +297,9 @@ isoConfig
# Disable systemd-resolved (conflicts with dnsmasq) # Disable systemd-resolved (conflicts with dnsmasq)
services.resolved.enable = false; services.resolved.enable = false;
# Enable iwd for better WiFi support
networking.wireless.iwd.enable = true;
# Container Runtime # Container Runtime
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
@@ -367,6 +369,8 @@ isoConfig
git git
networkmanager networkmanager
networkmanagerapplet # Network Manager GUI for GNOME networkmanagerapplet # Network Manager GUI for GNOME
gnome.gnome-control-center # GNOME Settings (includes network panel)
iwd # iNet wireless daemon for better WiFi support
docker docker
docker-compose docker-compose
gnome-terminal gnome-terminal