system.autoUpgrade.runGarbageCollection

NixOS option

Whether to automatically run nix-gc.service after a successful system upgrade.

type: boolean
Default
false
declared in: nixos/modules/tasks/auto-upgrade.nixView source on NixOS/nixpkgs →