diff --git a/nixie b/nixie index 6af40eb..6c5c0e3 100755 --- a/nixie +++ b/nixie @@ -48,7 +48,7 @@ BUILD () { QUIT fi echo -e "${IPurple}Committing the changes...${NC}" - sudo git commit --no-status -am "$(sudo nixos-rebuild list-generations | grep current | sed 's/ .*//')" + sudo git commit --no-status -am "$(sudo nixos-rebuild list-generations | grep True | sed 's/ .*//')" echo -e "${IPurple}System rebuilt, configuration commited.${NC}" echo -e -n "${IPurple}Push changes? ${Purple}Yes/Squash/No (y/s/N): ${NC}" read CHOICE @@ -111,7 +111,7 @@ RESTORE () { pushd /etc/nixos > /dev/null -echo -e "${IPurple}Running pixie. ${Purple}You might be asked to input the root password.${NC}" +echo -e "${IPurple}Running nixie. ${Purple}You might be asked to input the root password.${NC}" sudo echo -n if [ "$1" == "pull" ]; then echo -e "${IPurple}Pulling from origin...${NC}"