Merge pull request #26296 from gnidorah/master3
autorandr: 855c18b -> 1.1
This commit is contained in:
@@ -22,19 +22,9 @@ in {
|
||||
|
||||
environment.systemPackages = [ pkgs.autorandr ];
|
||||
|
||||
# systemd.unitPackages = [ pkgs.autorandr ];
|
||||
systemd.packages = [ pkgs.autorandr ];
|
||||
|
||||
systemd.services.autorandr = {
|
||||
unitConfig = {
|
||||
Description = "autorandr execution hook";
|
||||
After = [ "sleep.target" ];
|
||||
StartLimitInterval = "5";
|
||||
StartLimitBurst = "1";
|
||||
};
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.autorandr}/bin/autorandr --batch --change --default default";
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = false;
|
||||
};
|
||||
wantedBy = [ "sleep.target" ];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user