Merge branch 'main' of ssh://git.djairo.dev:2222/djaidjai/nixos

This commit is contained in:
2026-10-07 12:36:27 +02:00
6 changed files with 19 additions and 141 deletions

View File

@@ -30,16 +30,5 @@ in
(hyprLib.bind "SUPER + SHIFT + G" (hyprLib.exec "~/.config/hypr/scripts/gamemode_power.sh") "Toggle gaming power profile mode")
(hyprLib.bind "META + ALT + F6" (hyprLib.exec "~/.config/hypr/scripts/gamemode_power.sh") "Toggle gaming power profile mode")
];
# FIXME: this patch does not work
# adds a `stretch_aspect` scaler (Valve/gamescope#927) and lets `--rt` use the
# rtprio limit from modules/gaming.nix instead of CAP_SYS_NICE.
# nixpkgs.overlays = [
# (_final: prev: {
# gamescope = prev.gamescope.overrideAttrs (old: {
# patches = (old.patches or [ ]) ++ [ ../../patches/gamescope-stretch-aspect.patch ];
# });
# })
# ];
}

View File

@@ -5,7 +5,7 @@
users.users.djai.extraGroups = [ "gamemode" ];
# capSysNice would make glibc strip LD_PRELOAD from gamescope, breaking steam's overlay.
# '--rt' works through the rtprio limit below instead (see the gamescope patch on tuxcomp).
# '--rt' works through the rtprio limit below instead.
programs.gamescope = {
enable = true;
capSysNice = false;