Update deploy script

This commit is contained in:
Henrik Lissner 2019-11-19 01:36:13 -05:00
parent dd38dd4384
commit bcda74b5c6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

4
deploy
View file

@ -25,10 +25,10 @@ cat << EOF > "$NIXOSPREFIX/configuration.nix"
}
EOF
nix-channel --add https://nixos.org/channels/nixos-19.03 nixos
nix-channel --add https://nixos.org/channels/nixos-19.09 nixos
nix-channel --add https://github.com/rycee/home-manager/archive/master.tar.gz home-manager
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs-unstable
nix-channel --update
nixos-generate-config --root "$PREFIX"
nixos-install --root "$PREFIX" -I "config=$DOTFILES"
nixos-install --root "$PREFIX" -I "config=$DOTFILES/config"