summaryrefslogtreecommitdiff
path: root/os/srv/gaming.nix
diff options
context:
space:
mode:
Diffstat (limited to 'os/srv/gaming.nix')
-rw-r--r--os/srv/gaming.nix27
1 files changed, 14 insertions, 13 deletions
diff --git a/os/srv/gaming.nix b/os/srv/gaming.nix
index 36f2db5..730dcd2 100644
--- a/os/srv/gaming.nix
+++ b/os/srv/gaming.nix
@@ -30,22 +30,24 @@ in
config = lib.mkMerge [
# --- PERFORMANCE & TOOLING ---
(lib.mkIf cfg.tools.enable {
- programs.gamescope = {
- enable = true;
- capSysNice = true;
- };
+ hardware.xone.enable = true;
+ programs = {
+ gamescope = {
+ enable = true;
+ capSysNice = true;
+ };
- programs.gamemode = {
- enable = true;
- enableRenice = true;
- settings = {
- general.renice = 10;
+ gamemode = {
+ enable = true;
+ enableRenice = true;
+ settings = {
+ general.renice = 10;
+ };
};
};
environment = {
- # sets the optiscaler shortcut key to be home by default
sessionVariables = {
- OPTISCALER_ShortcutKey = "0x24";
+ OPTISCALER_ShortcutKey = "0x24"; # sets the optiscaler shortcut key to be home by default
};
systemPackages = with pkgs; [
@@ -61,10 +63,9 @@ in
(lib.mkIf cfg.launchers.enable {
environment.systemPackages = with pkgs; [
heroic
- # (pkgs.bottles.override { removeWarningPopup = true; })
(prismlauncher.override {
additionalLibs = with pkgs; [ ocl-icd ];
- jdks = with pkgs; [ javaPackages.compiler.temurin-bin.jdk-25 ];
+ jdks = with pkgs; [ javaPackages.compiler.temurin-bin.jdk-26 ];
})
];
})