Added nixos configs

This commit is contained in:
2026-02-22 19:25:39 +01:00
parent c0f19a200d
commit 8694deed28
9013 changed files with 118058 additions and 0 deletions
@@ -0,0 +1,34 @@
{ config, lib, pkgs, ... }:
{
# Keep NetworkManager off (avoids nm-applet + keyring + agent ecosystem)
networking.networkmanager.enable = false;
# iwd provides Wi-Fi auth/roaming; configurable via networking.wireless.iwd.settings
networking.wireless.iwd = {
enable = true;
# Optional but useful defaults
settings = {
Settings = {
AutoConnect = true;
};
Network = {
EnableIPv6 = true;
};
};
};
# GUI (with tray indicator via `iwgtk -i`)
environment.systemPackages = with pkgs; [
iwd
iwgtk
];
# Allow non-root Wi-Fi control (common pattern for iwd tooling)
users.users.henrov.extraGroups = [ "netdev" ];
# Ensure you still get IP addresses (default on NixOS is usually OK,
# but this makes it explicit)
networking.useDHCP = lib.mkDefault true;
}