nixos/hosts/FredOS-Gaming.nix

62 lines
1.8 KiB
Nix
Raw Permalink Normal View History

2025-12-09 16:14:43 +00:00
# hosts/FredOS-Gaming.nix
2026-03-28 13:42:35 +00:00
{ config, pkgs, lib, inputs, ... }:
2025-12-09 16:14:43 +00:00
{
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
environment.systemPackages = with pkgs; [
lutris
2026-03-16 10:23:27 +00:00
#(heroic.override {
# extraPkgs = pkgs: with pkgs; [
# adwaita-icon-theme
# ];
#})
2026-01-08 12:18:35 +00:00
mangohud
gamescope
2026-04-09 20:13:54 +01:00
vesktop
2026-01-08 15:17:30 +00:00
lsfg-vk
2026-01-08 15:36:54 +00:00
lsfg-vk-ui
2026-01-16 23:41:18 +00:00
faugus-launcher
2026-01-20 08:22:00 +00:00
adwaita-icon-theme
mission-center
2026-01-21 13:48:51 +00:00
geary
2026-03-01 22:42:47 +00:00
wowup-cf
2026-03-23 09:16:05 +00:00
adwsteamgtk
protonvpn-gui
2026-03-28 15:57:10 +00:00
onlyoffice-desktopeditors
vscodium
2026-05-02 05:53:15 -07:00
woeusb
2025-12-09 16:00:56 +00:00
];
2026-04-01 15:58:10 +01:00
programs.nix-ld.enable = true;
2026-01-29 12:44:24 +00:00
2025-12-09 15:58:30 +00:00
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
package = pkgs.steam.override {
extraPkgs = pkgs: with pkgs; [
2025-12-10 20:08:07 +00:00
adwaita-icon-theme
2025-12-09 15:58:30 +00:00
];
};
2025-12-09 16:14:43 +00:00
};
2026-03-28 15:28:37 +00:00
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.
#
# `enableIPv6 = false` only sets the system-wide sysctl; NetworkManager
# still flips disable_ipv6=0 on the live interface because each connection
# defaults to `ipv6.method = auto`. The probe then races over a SLAAC ULA
# that has no real upstream and we get the "?" again. Force every NM
# connection to skip v6 altogether and ignore router advertisements at
# the kernel layer for any future interface.
networking.enableIPv6 = false;
networking.networkmanager.connectionConfig."ipv6.method" = "disabled";
boot.kernel.sysctl = {
"net.ipv6.conf.all.accept_ra" = 0;
"net.ipv6.conf.default.accept_ra" = 0;
};
2025-12-09 16:14:43 +00:00
};
}