Ok, third time's the charm. Start fresh with nix host config
After two mildly successful attempts at nixifying my system config at
- v1 which I'd used for ages
- v2 which lifted me to the next level, but brought along a lot of cruft I don't understand or need
I decided to start fresh using numtide/blueprint and a blank slate, copy & pasting only what I really need and understand.
Let's see how it goes.
nix run nix-darwin -- build --flake .#lichtblick
HOME=/var/root sudo darwin-rebuild switch --keep-going -v --flake ~/code/nix-hosts#lichtblick- Define your NixOS host under
hosts/<name>(seehosts/nextcloud/configuration.nixfor layout). - Build the VM derivation for a host:
nix build .#nixosConfigurations.vm-mini.config.system.build.vfkit-vz-runner- Boot the resulting VM script (created under
./result/bin):
./result/bin/vfkit-nextcloud