all repos — archive/nixos-configuration @ 092fb00879d9593e41acf085141ebe2574421da4

Superseded by nixfiles

Move some startup programs to sessionCommands

Alan Pearce
commit

092fb00879d9593e41acf085141ebe2574421da4

parent

b1d95be08bebcb8c1cdf3133b812c861247f8f1d

1 file changed, 3 insertions(+), 0 deletions(-)

changed files
M modules/hardware/laptop.nixmodules/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;