fancier output

This commit is contained in:
Daniella / Tove 2024-10-19 02:41:11 +02:00
parent fff236b4ea
commit e81643c469

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
echo this is meant to be run from the iso!!! echo "this is meant to be run from the iso!!!"
if [ -e "/mnt/etc/nixos" ] ; then if [ -e "/mnt/etc/nixos" ] ; then
echo "iso detected. continue!" echo "iso detected. continue!"
else else
@ -14,7 +14,7 @@ else
echo "i will continue." echo "i will continue."
fi fi
echo "setting up channels:" echo "> setting up channels:"
echo deleting old echo deleting old
nix-channel --remove nixos nix-channel --remove nixos
echo adding os channel echo adding os channel
@ -23,4 +23,4 @@ echo adding pkgs channel
nix-channel --add "https://channels.nixos.org/nixpkgs-unstable" nixpkgs nix-channel --add "https://channels.nixos.org/nixpkgs-unstable" nixpkgs
echo updating echo updating
nix-channel --update nix-channel --update
echo "all set." echo "> all set."