diff --git a/hosts/citadel/default.nix b/hosts/citadel/default.nix index 24fc4fd..60d850d 100644 --- a/hosts/citadel/default.nix +++ b/hosts/citadel/default.nix @@ -54,6 +54,7 @@ in { ../common/optional/backlight.nix ../common/optional/xmodmap-arrow-remaps.nix ../common/optional/nix-ld.nix + ../common/optional/gaming.nix ]; boot = { @@ -95,6 +96,10 @@ in { }; }; + # fix cpu throttling on Lenovo Thinkpad + # see: https://github.com/erpalma/throttled + services.throttled.enable = true; + environment.variables = { GDK_SCALE = "2.2"; GDK_DPI_SCALE = "0.8"; diff --git a/hosts/common/optional/gaming.nix b/hosts/common/optional/gaming.nix index 82adb7c..eb41d0e 100644 --- a/hosts/common/optional/gaming.nix +++ b/hosts/common/optional/gaming.nix @@ -9,7 +9,6 @@ # Steam mangohud gamemode - gamescope # WINE wine @@ -41,11 +40,9 @@ programs.steam = { enable = true; - gamescopeSession.enable = true; }; programs.gamemode.enable = true; - programs.gamescope.enable = true; nixpkgs.config.packageOverrides = pkgs: { steam = pkgs.steam.override {