nixos/hosts/FredOS-Gaming.nix

46 lines
1.1 KiB
Nix
Raw Normal View History

2025-12-02 21:21:42 +00:00
{ config, pkgs, lib, ... }:
2025-12-09 15:50:12 +00:00
(lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
2025-12-09 15:52:46 +00:00
2025-12-09 16:00:56 +00:00
# Remove this entire packageOverrides section - it's not working
2025-12-09 15:58:30 +00:00
environment.systemPackages = [
pkgs.lutris
pkgs.adwaita-icon-theme
pkgs.nix-index
pkgs.libdecor
2025-12-09 16:00:56 +00:00
pkgs.pkgsi686Linux.libdecor # This is the correct way
];
2025-12-09 15:58:30 +00:00
hardware.graphics = {
enable = true;
enable32Bit = true;
}; # <--- Semicolon required here
2025-12-09 13:00: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; [
kdePackages.breeze
];
};
}; # <--- Semicolon required here
2025-12-09 13:14:16 +00:00
2025-12-09 15:58:30 +00:00
environment.sessionVariables = {
LIBDECOR_PLUGIN_DIR = "${pkgs.libdecor}/lib/libdecor/plugins-1";
GTK_PATH = "${pkgs.gtk3}/lib/gtk-3.0:${pkgs.gtk4}/lib/gtk-4.0";
}; # <--- Semicolon required here
2025-12-09 15:53:21 +00:00
2025-12-09 15:58:30 +00:00
system.autoUpgrade = {
enable = true;
dates = "daily";
persistent = true;
allowReboot = false;
flags = [
"--upgrade"
"--option" "tarball-ttl" "0"
];
};
2025-12-09 15:53:21 +00:00
2025-12-09 15:50:46 +00:00
})