summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
authorAlan Pearce2019-10-15 19:27:02 +0200
committerAlan Pearce2019-10-16 19:27:33 +0200
commit4de959a979b253ecc846b01330b407468e9bedc0 (patch)
tree36863947a003495b0b3aef71b6dd553973fd9d5e /system/settings
parentf54cbbbdb371148f89a7551f93158f0c552326da (diff)
downloadnixfiles-4de959a979b253ecc846b01330b407468e9bedc0.tar.lz
nixfiles-4de959a979b253ecc846b01330b407468e9bedc0.tar.zst
nixfiles-4de959a979b253ecc846b01330b407468e9bedc0.zip
Move autorandr to system
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/hardware/laptop.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/settings/hardware/laptop.nix b/system/settings/hardware/laptop.nix
index bec1f7f6..f8f2979c 100644
--- a/system/settings/hardware/laptop.nix
+++ b/system/settings/hardware/laptop.nix
@@ -32,6 +32,11 @@
   programs.light.enable = true;
 
   services.autorandr.enable = true;
+  environment.etc.autorandr = {
+    enable = true;
+    source = ../../autorandr;
+    target = "xdg/autorandr";
+  };
 
   services.logind.extraConfig = ''
     IdleAction=suspend