fix systemd backlight persistence
This commit is contained in:
@@ -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 ({
|
||||
|
Reference in New Issue
Block a user