diff options
| author | EuAndreh <eu@euandre.org> | 2023-02-26 17:58:35 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2023-02-26 17:58:35 -0300 |
| commit | a55e0e40171baa3cca1194447cd43ce19002f5c5 (patch) | |
| tree | 715a3cfc61822f655f6c8a8b55474f2b346dba26 /bin/update | |
| parent | bin/reconfigure: Use current version of {home,system}.scm files (diff) | |
| download | dotfiles-a55e0e40171baa3cca1194447cd43ce19002f5c5.tar.gz dotfiles-a55e0e40171baa3cca1194447cd43ce19002f5c5.tar.xz | |
Update NixOS channel in update(1) instead of upgrade(1)
Diffstat (limited to 'bin/update')
| -rwxr-xr-x | bin/update | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -63,6 +63,12 @@ done shift $((OPTIND - 1)) +if [ -e /etc/nixos/configuration.nix ]; then + pass show "$HOSTNAME"/andreh | + head -n1 | + sudo -S nix-channel --update +fi + guix pull -v3 rfc -u |
