summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/settings/hardware/laptop.nix7
1 files changed, 6 insertions, 1 deletions
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;