fancier output
This commit is contained in:
parent
fff236b4ea
commit
e81643c469
1 changed files with 3 additions and 3 deletions
6
init.sh
6
init.sh
|
@ -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."
|
||||||
|
|
Loading…
Add table
Reference in a new issue