From 60573b583d1c34e9e8f4425c00b1524c484567b3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 13 Nov 2019 16:29:18 +0100 Subject: laptop: fix autorandr failing at startup --- system/settings/hardware/laptop.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'system/settings/hardware/laptop.nix') diff --git a/system/settings/hardware/laptop.nix b/system/settings/hardware/laptop.nix index abbb2ebb..aca900a6 100644 --- a/system/settings/hardware/laptop.nix +++ b/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; -- cgit 1.4.1