Cleaner commit message

This commit is contained in:
Marta 2025-06-07 23:04:18 +02:00
parent ff584abc04
commit 4718468fdb

2
nixie
View file

@ -41,7 +41,7 @@ BUILD () {
QUIT
fi
echo -e "${IPurple}Committing the changes...${NC}"
sudo git commit --no-status -am "$(sudo nixos-rebuild list-generations | grep current)"
sudo git commit --no-status -am "$(sudo nixos-rebuild list-generations | grep current | sed 's/ .*//')"
echo -e "${IPurple}System rebuilt, configuration commited. Quitting nixie.${NC}"
QUIT
;;