From af0d1d900bf25def45873cbee6c43d48f97a5e7f Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Tue, 9 Sep 2025 21:45:37 +0200 Subject: [PATCH 1/3] nixos/autoUpgrade: add runGarbageCollection option --- nixos/modules/tasks/auto-upgrade.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/nixos/modules/tasks/auto-upgrade.nix b/nixos/modules/tasks/auto-upgrade.nix index 4effda9ef4cd..29eb03743b9c 100644 --- a/nixos/modules/tasks/auto-upgrade.nix +++ b/nixos/modules/tasks/auto-upgrade.nix @@ -184,6 +184,15 @@ in ''; }; + runGarbageCollection = lib.mkOption { + type = lib.types.bool; + default = false; + description = '' + Whether to automatically run `nix-gc.service` after a successful + system upgrade. + ''; + }; + }; }; @@ -197,6 +206,12 @@ in The options 'system.autoUpgrade.channel' and 'system.autoUpgrade.flake' cannot both be set. ''; } + { + assertion = (cfg.runGarbageCollection -> config.nix.enable); + message = '' + The option 'system.autoUpgrade.runGarbageCollection = true' requires 'nix.enable = true'. + ''; + } ]; system.autoUpgrade.flags = ( @@ -218,6 +233,9 @@ in restartIfChanged = false; unitConfig.X-StopOnRemoval = false; + unitConfig.OnSuccess = lib.optional ( + cfg.runGarbageCollection && config.nix.enable + ) "nix-gc.service"; serviceConfig.Type = "oneshot"; From a0fb838d019a98ed3a71bcd9d334e522d3180375 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 14 Nov 2025 01:17:30 +0000 Subject: [PATCH 2/3] crosvm: 0-unstable-2025-11-05 -> 0-unstable-2025-11-13 --- pkgs/by-name/cr/crosvm/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/cr/crosvm/package.nix b/pkgs/by-name/cr/crosvm/package.nix index e4efa7ff3062..c45254893556 100644 --- a/pkgs/by-name/cr/crosvm/package.nix +++ b/pkgs/by-name/cr/crosvm/package.nix @@ -21,18 +21,18 @@ rustPlatform.buildRustPackage { pname = "crosvm"; - version = "0-unstable-2025-11-05"; + version = "0-unstable-2025-11-13"; src = fetchgit { url = "https://chromium.googlesource.com/chromiumos/platform/crosvm"; - rev = "cc4086ef67b347624ae2dbe3e435824e1ecedffb"; - hash = "sha256-wo0opn5oZT0jPno1lLxBkEOullERh0GB95tQSvCBSrs="; + rev = "3d7db6c9fded7a184e279ca9170abfa94fd59e34"; + hash = "sha256-sRl0ABggh1u3ctsqA/OSgDKtB1mO6zNHiRKvZ316sOM="; fetchSubmodules = true; }; separateDebugInfo = true; - cargoHash = "sha256-P6vFWs9lVn4EkXUVOi+3s/tptAV/J7tH5GBCQv/dwUA="; + cargoHash = "sha256-NeyJLsE/Uvcg/kNzS1SXEBjExKwbjcHkkhT2jSQjxx4="; nativeBuildInputs = [ pkg-config From 32b3a6dbff1df3d2e5b17b921b89bd99f58734a0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 15 Nov 2025 02:04:35 +0000 Subject: [PATCH 3/3] python3Packages.disposable-email-domains: 0.0.147 -> 0.0.149 --- .../python-modules/disposable-email-domains/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/disposable-email-domains/default.nix b/pkgs/development/python-modules/disposable-email-domains/default.nix index ae8d406c4e2d..2e7f863c5236 100644 --- a/pkgs/development/python-modules/disposable-email-domains/default.nix +++ b/pkgs/development/python-modules/disposable-email-domains/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "disposable-email-domains"; - version = "0.0.147"; + version = "0.0.149"; pyproject = true; # No tags on GitHub src = fetchPypi { pname = "disposable_email_domains"; inherit version; - hash = "sha256-sbMQ9izDOzrQOoYKpSLWO/+W2/3bGMhlyFP34oOff5g="; + hash = "sha256-bgGs6F41rKVAI6qIyNiqOr5hfCs6ardq6WFJtpZxFCc="; }; build-system = [