Move some startup programs to sessionCommands
1 file changed, 3 insertions(+), 0 deletions(-)
changed files
M modules/hardware/laptop.nix → modules/hardware/laptop.nix
@@ -42,6 +42,9 @@ enable = lib.mkDefault true; naturalScrolling = true; disableWhileTyping = true; }; + displayManager.sessionCommands = '' + ${pkgs.autorandr}/bin/autorandr --change --force + ''; }; systemd.services.nixos-upgrade.unitConfig.ConditionACPower = true;