mirror of
https://git.pionaiki.com/marta/nixie.git
synced 2025-10-30 06:07:21 +00:00
Consistent naming
This commit is contained in:
parent
016d3b27a1
commit
17b12cbb8e
1 changed files with 2 additions and 2 deletions
4
nixie
4
nixie
|
|
@ -48,7 +48,7 @@ BUILD () {
|
||||||
QUIT
|
QUIT
|
||||||
fi
|
fi
|
||||||
echo -e "${IPurple}Committing the changes...${NC}"
|
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 "${IPurple}System rebuilt, configuration commited.${NC}"
|
||||||
echo -e -n "${IPurple}Push changes? ${Purple}Yes/Squash/No (y/s/N): ${NC}"
|
echo -e -n "${IPurple}Push changes? ${Purple}Yes/Squash/No (y/s/N): ${NC}"
|
||||||
read CHOICE
|
read CHOICE
|
||||||
|
|
@ -111,7 +111,7 @@ RESTORE () {
|
||||||
|
|
||||||
pushd /etc/nixos > /dev/null
|
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
|
sudo echo -n
|
||||||
if [ "$1" == "pull" ]; then
|
if [ "$1" == "pull" ]; then
|
||||||
echo -e "${IPurple}Pulling from origin...${NC}"
|
echo -e "${IPurple}Pulling from origin...${NC}"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue