diff --git a/nixos-infect b/nixos-infect index 067beb0..1b3702e 100755 --- a/nixos-infect +++ b/nixos-infect @@ -311,6 +311,8 @@ infect() { exit 1 fi + rm -v -rf /etc/{dbus-1,terminfo,systemd} + echo "activate the built configuration..." if ! /nix/var/nix/profiles/system/activate; then echo "Failed!"; exit 1