diff --git a/.bin/update-channels b/.bin/update-channels index d8689e4..c9a44ac 100755 --- a/.bin/update-channels +++ b/.bin/update-channels @@ -1,3 +1,14 @@ #!/bin/sh + + +GREEN='\033[1;32m' +BLUE='\033[1;34m' +NC='\033[0m' + +echo +echo -e "${GREEN}Updating ${BLUE}base-channels${GREEN}...${NC}" +echo + +cp -f ~/git/dotfiles/fschl/base-channels.scm ~/.config/guix/base-channels.scm guix pull --channels=$HOME/.config/guix/base-channels.scm guix describe --format=channels > ~/.config/guix/channels.scm diff --git a/.bin/update-home b/.bin/update-home new file mode 100755 index 0000000..26765ff --- /dev/null +++ b/.bin/update-home @@ -0,0 +1,11 @@ +#!/bin/sh + +GREEN='\033[1;32m' +BLUE='\033[1;34m' +NC='\033[0m' + +echo +echo -e "${GREEN}Updating $HOME for ${BLUE}$(hostname)${GREEN}...${NC}" +echo + +RUNNING_GUIX_HOME=1 guix home -L ~/git/dotfiles/ reconfigure ~/git/dotfiles/fschl/systems/$(hostname).scm diff --git a/.bin/update-system b/.bin/update-system new file mode 100755 index 0000000..f3c7d84 --- /dev/null +++ b/.bin/update-system @@ -0,0 +1,11 @@ +#!/bin/sh + +GREEN='\033[1;32m' +BLUE='\033[1;34m' +NC='\033[0m' + +echo +echo -e "${GREEN}Updating ${BLUE}$(hostname)${GREEN}...${NC}" +echo + +sudo guix system -v 3 -c 4 -L ~/git/dotfiles/ reconfigure ~/git/dotfiles/fschl/systems/$(hostname).scm