diff options
Diffstat (limited to 'bin/update')
-rwxr-xr-x | bin/update | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -64,6 +64,15 @@ done shift $((OPTIND - 1)) +HOSTNAME="$(hostname)" +if [ -e /etc/nixos/configuration.nix ]; then + pass show "$HOSTNAME"/andreh | + head -n1 | + sudo -S nix-channel --update +else + nix-channel --update +fi + guix pull -v3 rfc -u |