Update FredOS-Gaming.nix

This commit is contained in:
ediblerope 2025-12-09 13:00:24 +00:00 committed by GitHub
parent 4fc734eb2a
commit bf4d8e8fa2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,36 +1,39 @@
# hosts/FredOS-Gaming.nix
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") { config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
# List packages installed in system profile. To search, run:
# $ nix search wget environment.systemPackages = with pkgs; [
environment.systemPackages = with pkgs; [ lutris
#Package name dwaita-icon-theme # Helps with missing cursors/icons in some Wine games
lutris ];
gamescope
libdecor # 1. Enable the Gamescope Module
]; programs.gamescope = {
enable = true;
programs.steam = { capSysNice = true; # Fixes "No CAP_SYS_NICE" warning implies better performance
enable = true; # args = [ "--rt" ]; # Optional: Force realtime priority
remotePlay.openFirewall = true; };
package = pkgs.steam.override {
extraPkgs = programs.steam = {
pkgs: with pkgs; [ enable = true;
remotePlay.openFirewall = true;
package = pkgs.steam.override {
extraPkgs = pkgs: with pkgs; [
kdePackages.breeze kdePackages.breeze
libgdiplus # Often helps with Wine UI rendering
]; ];
};
};
system.autoUpgrade = {
enable = true;
dates = "daily";
persistent = true;
allowReboot = false;
flags = [
"--upgrade"
"--option" "tarball-ttl" "0"
];
}; };
}; };
system.autoUpgrade = {
enable = true;
dates = "daily";
persistent = true;
allowReboot = false;
flags = [
"--upgrade"
"--option" "tarball-ttl" "0"
];
};
};
} }