Shell commands executed before home-manager switch.
home-manager switch
list of string
if lib.versionAtLeast config.home.stateVersion "26.05" || !config.services.home-manager.autoUpgrade.useFlake then [ ] else [ "nix flake update" ]
[ "${pkgs.gitMinimal}/bin/git pull" "nix flake update" ]