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
|
2026-04-18 21:53:15 +01:00
|
|
|
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
|
2026-05-01 13:38:27 +01:00
|
|
|
protonvpn-gui
|
2026-03-28 15:57:10 +00:00
|
|
|
onlyoffice-desktopeditors
|
2026-04-16 19:51:43 +01:00
|
|
|
vscodium
|
2026-05-02 05:53:15 -07:00
|
|
|
woeusb
|
2025-12-09 16:00:56 +00:00
|
|
|
];
|
2026-04-01 21:14:16 +01: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-04-01 21:14:16 +01:00
|
|
|
|
2026-03-28 15:28:37 +00:00
|
|
|
boot.loader.systemd-boot.configurationLimit = 5;
|
|
|
|
|
boot.initrd.systemd.enable = true;
|
2026-04-28 13:00:59 +01:00
|
|
|
|
|
|
|
|
# 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.
|
2026-05-02 23:06:33 +01:00
|
|
|
#
|
|
|
|
|
# `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.
|
2026-04-28 13:00:59 +01:00
|
|
|
networking.enableIPv6 = false;
|
2026-05-02 23:06:33 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
|
}
|