small update

This commit is contained in:
Bloxx12 2025-07-13 22:51:22 +02:00
commit b1490ec9a8
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
100 changed files with 187 additions and 1695 deletions

View file

@ -0,0 +1,52 @@
{config, ...}: let
inherit (config.modules.other.system) username;
in {
networking = {
enableIPv6 = true;
wireless = {
# INFO: This disables wpa_supplicant,
# I use iwd instead.
enable = false;
# use iwd over wpa_supplicant
iwd = {
enable = true;
settings = {
IPv6 = {
Enabled = true;
};
Settings = {
AutoConnect = true;
};
};
};
};
dhcpcd = {
# faster boot times
wait = "background";
# do not edit resolv.conf
extraConfig = ''
nohook resolv.conf
'';
};
};
# service discovery on a local network via the mDNS/DNS-SD protocol suite
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
users.users.${username}.extraGroups = ["networkmanager"];
# faster boot
systemd = {
network = {
enable = true;
wait-online.enable = false;
};
};
}