Consistent naming

This commit is contained in:
Marta 2025-10-13 13:23:56 +02:00
parent 016d3b27a1
commit 17b12cbb8e
Signed by: marta
GPG key ID: 61B6652511C9A28C

4
nixie
View file

@ -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}"