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, 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"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue