Commit d86e80da6a1d

Vincent Demeester <vincent@sbr.pm>
2020-05-21 15:08:10
install.sh: fix subshell and nix-install command
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 379399a
Changed files (1)
install.sh
@@ -52,7 +52,8 @@ echo "Run the following:"
 echo "- populate assets/ folder"
 echo "- do last minutes changes"
 echo "Once you are done, just exit the shell (C-D or exit)"
-bash
+bash || true
 
 echo "Run nixos-install"
-nixos-install --channel $(nix eval --raw '(import nix/sources.nix).nixos.outPath') --no-channel-copy
+set -x
+nixos-install --channel $(nix eval --raw '(import /mnt/etc/nixos/nix/sources.nix).nixos.outPath') --no-channel-copy