all repos — nixfiles @ 60573b583d1c34e9e8f4425c00b1524c484567b3

System and user configuration, managed by nix and home-manager

laptop: fix autorandr failing at startup

Alan Pearce
commit

60573b583d1c34e9e8f4425c00b1524c484567b3

parent

a12b6a483de7675261456e159d653f90c7920828

1 file changed, 6 insertions(+), 1 deletion(-)

jump to
M system/settings/hardware/laptop.nixsystem/settings/hardware/laptop.nix
@@ -29,7 +29,12 @@ ];
programs.light.enable = true; - services.autorandr.enable = true; + services.autorandr = { + enable = true; + defaultTarget = "common"; + }; + systemd.services.autorandr.wantedBy = [ "graphical.target" ]; + environment.etc.autorandr = { enable = true; source = ../../autorandr;