Loading nixos/modules/services/misc/autorandr.nix +13 −1 Original line number Diff line number Diff line Loading @@ -254,6 +254,12 @@ in { ''; }; ignoreLid = mkOption { default = false; type = types.bool; description = lib.mdDoc "Treat outputs as connected even if their lids are closed"; }; hooks = mkOption { type = hooksModule; description = lib.mdDoc "Global hook scripts"; Loading Loading @@ -340,7 +346,13 @@ in { startLimitIntervalSec = 5; startLimitBurst = 1; serviceConfig = { ExecStart = "${pkgs.autorandr}/bin/autorandr --batch --change --default ${cfg.defaultTarget}"; ExecStart = '' ${pkgs.autorandr}/bin/autorandr \ --batch \ --change \ --default ${cfg.defaultTarget} \ ${optionalString cfg.ignoreLid "--ignore-lid"} ''; Type = "oneshot"; RemainAfterExit = false; KillMode = "process"; Loading pkgs/tools/misc/autorandr/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ python3.pkgs.buildPythonApplication rec { pname = "autorandr"; version = "1.12.1"; version = "1.13"; format = "other"; nativeBuildInputs = [ installShellFiles ]; Loading Loading @@ -59,7 +59,7 @@ python3.pkgs.buildPythonApplication rec { owner = "phillipberndt"; repo = "autorandr"; rev = version; sha256 = "sha256-7SNnbgV6PeseBD6wdilEIOfOL2KVDpnlkSn9SBgRhhM="; sha256 = "sha256-pTWwDKBCZV3wkX/VHuWrwMFgUAMDvik11y+ysKiN3HU="; }; meta = with lib; { Loading Loading
nixos/modules/services/misc/autorandr.nix +13 −1 Original line number Diff line number Diff line Loading @@ -254,6 +254,12 @@ in { ''; }; ignoreLid = mkOption { default = false; type = types.bool; description = lib.mdDoc "Treat outputs as connected even if their lids are closed"; }; hooks = mkOption { type = hooksModule; description = lib.mdDoc "Global hook scripts"; Loading Loading @@ -340,7 +346,13 @@ in { startLimitIntervalSec = 5; startLimitBurst = 1; serviceConfig = { ExecStart = "${pkgs.autorandr}/bin/autorandr --batch --change --default ${cfg.defaultTarget}"; ExecStart = '' ${pkgs.autorandr}/bin/autorandr \ --batch \ --change \ --default ${cfg.defaultTarget} \ ${optionalString cfg.ignoreLid "--ignore-lid"} ''; Type = "oneshot"; RemainAfterExit = false; KillMode = "process"; Loading
pkgs/tools/misc/autorandr/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ python3.pkgs.buildPythonApplication rec { pname = "autorandr"; version = "1.12.1"; version = "1.13"; format = "other"; nativeBuildInputs = [ installShellFiles ]; Loading Loading @@ -59,7 +59,7 @@ python3.pkgs.buildPythonApplication rec { owner = "phillipberndt"; repo = "autorandr"; rev = version; sha256 = "sha256-7SNnbgV6PeseBD6wdilEIOfOL2KVDpnlkSn9SBgRhhM="; sha256 = "sha256-pTWwDKBCZV3wkX/VHuWrwMFgUAMDvik11y+ysKiN3HU="; }; meta = with lib; { Loading