system.autoUpgrade.flags
Any additional flags passed to nixos-rebuild.
If you are using flakes and use a local repo you can add
[ "--update-input" "nixpkgs" "--commit-lock-file" ]
to update nixpkgs.
- Type
list of string- Default
[ ]- Example
[ "-I" "stuff=/home/alice/nixos-stuff" "--option" "extra-binary-caches" "http://my-cache.example.org/" ]- Declared
- <nixpkgs/nixos/modules/tasks/auto-upgrade.nix>