diff options
author | EuAndreh <eu@euandre.org> | 2024-04-25 15:55:54 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-04-25 15:55:54 -0300 |
commit | 0b720343053dd0f67faa53698ebe748fbeddc6b3 (patch) | |
tree | cd6faedf9acf2c82405483f9f728079a33ea978e /bin/update | |
parent | etc/sh/rc: export $TD_USE_BUILTIN_HOOKS (diff) | |
download | dotfiles-0b720343053dd0f67faa53698ebe748fbeddc6b3.tar.gz dotfiles-0b720343053dd0f67faa53698ebe748fbeddc6b3.tar.xz |
Revert "Remove Nix/NixOS support from configuration and utilities"
This reverts commit 3b2d27457db9ef8911893fa1b843560f1ccab2eb.
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 |