diff --git a/nixos-infect b/nixos-infect index 335857e..90a586d 100755 --- a/nixos-infect +++ b/nixos-infect @@ -47,8 +47,6 @@ set -ex -nixpkgs="https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz" - makeConf() { # NB <<"EOF" quotes / $ ` in heredocs, <' \ -p /nix/var/nix/profiles/system \ -A system @@ -177,6 +179,7 @@ touch /etc/NIXOS cat > /etc/NIXOS_LUSTRATE << EOF etc/nixos etc/resolv.conf +root/.nix-defexpr/channels EOF mv -v /boot /boot.bak &&