From dba036a102edb8578212e7288f33e61562268210 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 20 Sep 2023 14:35:11 +0300 Subject: [PATCH] autorandr: move to global config seems to work! --- hosts/fwminex/configuration.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hosts/fwminex/configuration.nix b/hosts/fwminex/configuration.nix index 67212df..5cddaf5 100644 --- a/hosts/fwminex/configuration.nix +++ b/hosts/fwminex/configuration.nix @@ -107,9 +107,10 @@ in { }; }; - home-manager.users.motiejus = {pkgs, ...}: { - programs.autorandr.profiles = { - laptop = { + services.autorandr = { + enable = true; + profiles = { + default = { fingerprint = {inherit (randr) eDP-1;}; config = { DP-1.enable = false;