diff --git a/nixos/modules/services/misc/autosuspend.nix b/nixos/modules/services/misc/autosuspend.nix index 9bbc9b2e7af8..29380a35347f 100644 --- a/nixos/modules/services/misc/autosuspend.nix +++ b/nixos/modules/services/misc/autosuspend.nix @@ -240,12 +240,15 @@ in after = [ "network.target" ]; path = flatten (attrValues (filterAttrs (n: _: hasCheck n) dependenciesForChecks)); serviceConfig = { - ExecStart = "${autosuspend}/bin/autosuspend -l ${autosuspend}/etc/autosuspend-logging.conf -c ${autosuspend-conf} daemon"; + ExecStart = "${autosuspend}/bin/autosuspend --logging ${autosuspend}/etc/autosuspend-logging.conf daemon --config ${autosuspend-conf}"; }; }; }; meta = { - maintainers = with maintainers; [ xlambein ]; + maintainers = with maintainers; [ + xlambein + adamcstephens + ]; }; } diff --git a/pkgs/by-name/au/autosuspend/package.nix b/pkgs/by-name/au/autosuspend/package.nix index 3ba6de8a854c..12f264b4f860 100644 --- a/pkgs/by-name/au/autosuspend/package.nix +++ b/pkgs/by-name/au/autosuspend/package.nix @@ -11,7 +11,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pname = "autosuspend"; - version = "10.1.0"; + version = "11.3.0"; pyproject = true; outputs = [ @@ -24,7 +24,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: { owner = "languitar"; repo = "autosuspend"; tag = "v${finalAttrs.version}"; - hash = "sha256-4mByuJ75hd5TEoKxVglAHlYXZSlbAldMwnIianSw8O4="; + hash = "sha256-KG1Cv3Fmdf3VDdZR+k0SeA97g6R+oI6+NgtaWHWPVUQ="; }; postPatch = '' @@ -100,6 +100,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: { maintainers = with lib.maintainers; [ bzizou anthonyroussel + adamcstephens ]; mainProgram = "autosuspend"; platforms = lib.platforms.linux;