From 14331e8c0eff02afe1a94a1b2bded3e50959a1f2 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Wed, 27 Mar 2024 16:36:59 -0400 Subject: [PATCH] Gamemode Fix & Add Gamescope - Move gamemode to system packages - Add gamescope to user packages --- system/utilities/default.nix | 1 + system/utilities/gaming.nix | 9 +++++++++ user/gaming/utilities.nix | 7 +------ 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 system/utilities/gaming.nix diff --git a/system/utilities/default.nix b/system/utilities/default.nix index e7c8376..e8ecda3 100644 --- a/system/utilities/default.nix +++ b/system/utilities/default.nix @@ -5,5 +5,6 @@ ./dbus.nix ./gnome-keyring.nix ./miscellaneous.nix + ./gaming.nix ]; } diff --git a/system/utilities/gaming.nix b/system/utilities/gaming.nix new file mode 100644 index 0000000..ffe292f --- /dev/null +++ b/system/utilities/gaming.nix @@ -0,0 +1,9 @@ +{ config, lib, pkgs, ... }: + +{ + programs.gamemode = { + enable = true; + # settings = {}; + # enableRenice = true; + }; +} diff --git a/user/gaming/utilities.nix b/user/gaming/utilities.nix index 09b153d..9c9542c 100644 --- a/user/gaming/utilities.nix +++ b/user/gaming/utilities.nix @@ -1,15 +1,10 @@ { config, lib, pkgs, ... }: { - programs.gamemode = { - enable = true; - # settings = {}; - # enableRenice = true; - }; - home.packages = (with pkgs; [ mangohud goverlay vkbasalt + gamescope ]); }