mirror of
https://git.pionaiki.com/marta/nixie.git
synced 2025-10-29 13:47:22 +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
|
||||
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}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue