add throttled to citadel

This commit is contained in:
Sam 2024-11-12 21:18:21 +00:00
parent d224d55c1a
commit c85215b5b4
2 changed files with 5 additions and 3 deletions

View File

@ -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";

View File

@ -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 {