fix systemd backlight persistence

This commit is contained in:
2025-07-19 23:55:22 +00:00
parent e016ed9272
commit 8477e51538

View File

@@ -1277,7 +1277,11 @@ in
sane.persist.sys.byStore.plaintext = lib.mkIf config.sane.programs.guiApps.enabled [
# "/var/lib/alsa" # preserve output levels, default devices
"/var/lib/systemd/backlight" # backlight brightness
{
# backlight brightness; MUST be `bind`, else systemd loses its shit with "Too many levels of symbolic links".
path = "/var/lib/systemd/backlight";
method = "bind";
}
];
hardware.graphics = lib.mkIf config.sane.programs.guiApps.enabled ({