Merge branch 'main' of ssh://git.djairo.dev:2222/djaidjai/nixos
This commit is contained in:
@@ -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 ];
|
||||
# });
|
||||
# })
|
||||
# ];
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user