diff --git a/nixie b/nixie index 0e4aaa1..4230556 100755 --- a/nixie +++ b/nixie @@ -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 ;;