diff options
Diffstat (limited to 'modules/hardware/laptop.nix')
-rw-r--r-- | modules/hardware/laptop.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/hardware/laptop.nix b/modules/hardware/laptop.nix index c08f6b96..1c5d5e39 100644 --- a/modules/hardware/laptop.nix +++ b/modules/hardware/laptop.nix @@ -42,6 +42,9 @@ naturalScrolling = true; disableWhileTyping = true; }; + displayManager.sessionCommands = '' + ${pkgs.autorandr}/bin/autorandr --change --force + ''; }; systemd.services.nixos-upgrade.unitConfig.ConditionACPower = true; |