Update FredOS-Gaming.nix
This commit is contained in:
parent
4fc734eb2a
commit
bf4d8e8fa2
1 changed files with 32 additions and 29 deletions
|
|
@ -1,36 +1,39 @@
|
|||
# hosts/FredOS-Gaming.nix
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
#Package name
|
||||
lutris
|
||||
gamescope
|
||||
libdecor
|
||||
];
|
||||
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
package = pkgs.steam.override {
|
||||
extraPkgs =
|
||||
pkgs: with pkgs; [
|
||||
environment.systemPackages = with pkgs; [
|
||||
lutris
|
||||
dwaita-icon-theme # Helps with missing cursors/icons in some Wine games
|
||||
];
|
||||
|
||||
# 1. Enable the Gamescope Module
|
||||
programs.gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true; # Fixes "No CAP_SYS_NICE" warning implies better performance
|
||||
# args = [ "--rt" ]; # Optional: Force realtime priority
|
||||
};
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
package = pkgs.steam.override {
|
||||
extraPkgs = pkgs: with pkgs; [
|
||||
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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue