nixos/hosts/FredOS-Gaming.nix
ediblerope d0095af4fb gaming: disable IPv6 to stop NetworkManager connectivity flap
LAN has no v6 route, so AAAA lookups succeed but connect fails. NM's
connectivity probe was reporting "limited" at boot (GNOME's "?" icon)
until the next 5-min repoll cleared it.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-28 13:00:59 +01:00

48 lines
1.1 KiB
Nix

# hosts/FredOS-Gaming.nix
{ config, pkgs, lib, inputs, ... }:
{
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
environment.systemPackages = with pkgs; [
lutris
#(heroic.override {
# extraPkgs = pkgs: with pkgs; [
# adwaita-icon-theme
# ];
#})
mangohud
gamescope
vesktop
lsfg-vk
lsfg-vk-ui
faugus-launcher
adwaita-icon-theme
mission-center
geary
wowup-cf
adwsteamgtk
proton-vpn
onlyoffice-desktopeditors
vscodium
];
programs.nix-ld.enable = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
package = pkgs.steam.override {
extraPkgs = pkgs: with pkgs; [
adwaita-icon-theme
];
};
};
boot.loader.systemd-boot.configurationLimit = 5;
boot.initrd.systemd.enable = true;
# LAN has no IPv6 route — AAAA lookups succeed but connect fails, which
# made NetworkManager's connectivity probe report "limited" at boot
# (GNOME's "?" icon) until the next 5-min repoll.
networking.enableIPv6 = false;
};
}