-
-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
Description
I'm not a fan of implementing nixos-rebuild --upgrade
for non-flake setups as nix-chanel --update
, as I don't use flakes neither channels, but rather npins.
Perhaps it would be useful to have a generic update command provided by an env variable or a flag:
$ export NH_UPDATE_CMD="cd $DOTFILES; npins update"
$ nh os switch --update
Shouldn't be too hard to implement. NH_UPDATE_CMD should be a bash script.