laptop: fix autorandr failing at startup
Alan Pearce alan@alanpearce.eu
Wed, 13 Nov 2019 16:29:18 +0100
1 files changed, 6 insertions(+), 1 deletions(-)
M system/settings/hardware/laptop.nix → system/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;