fixing
CI / lint (push) Successful in 1m8s
CI / eval (push) Failing after 2m31s

This commit is contained in:
Miguel Palhas
2026-07-08 10:15:41 +01:00
parent 3c7a65b190
commit 79d4bcc989
3 changed files with 19 additions and 2 deletions
+2 -1
View File
@@ -44,7 +44,8 @@
"Bash(statix check *)",
"Read(//home/naps62/.config/sunshine/**)",
"Read(//home/naps62/**)",
"Read(//home/naps62/Games/**)"
"Read(//home/naps62/Games/**)",
"Bash(hostnamectl)"
]
},
"sandbox": {
+10
View File
@@ -76,5 +76,15 @@ in
home.file."roms/.keep".text = "";
xdg.configFile."retroarch/system/.keep".text = "";
# Slang shaders. The in-app Online Updater that normally downloads these is
# compiled out of the nixpkgs build, so ship them from nixpkgs instead:
# symlink the shader tree into video_shader_dir (~/.config/retroarch/shaders)
# so Quick Menu > Shaders > Load Preset can browse shaders_slang/ — e.g.
# handheld/lcd3x.slangp or handheld/color-mod/gba-color.slangp.
# Read-only (it's a store path); "Save Core Preset" still works since that
# writes to retroarch/config/<core>/, not here.
xdg.configFile."retroarch/shaders".source =
"${pkgs.libretro-shaders-slang}/share/libretro/shaders";
};
}
+7 -1
View File
@@ -397,7 +397,13 @@ in
general = {
after_sleep_cmd = "hyprctl dispatch dpms on";
before_sleep_cmd = "loginctl lock-session";
ignore_dbus_inhibit = false;
# Must be true on this streaming box. GameMode (via Sunshine/Moonlight)
# raises a dbus ScreenSaver inhibitor; if one arrives *after* the dpms-off
# timeout has fired, hypridle's onResumed() sees inhibit_locks > 0 and
# silently skips the on-resume `dpms on` — leaving every display (and the
# Moonlight stream) stuck black until a hard power-cycle. Ignoring dbus
# inhibits keeps the lock count at 0 so resume always turns displays back on.
ignore_dbus_inhibit = true;
# guard against launching a second hyprlock over an existing one
lock_cmd = "pidof hyprlock || hyprlock";
};