nix run .#build-base-vm
# or if you don't want to clone repo
nix run github:deedee-ops/nixlab#build-base-vm
This will build and import nixos/base/vm
image to incus.
# trusted is profile name
incus launch --vm nixos/base/vm <machine name> -c volatile.eth0.hwaddr=<mac address> -p trusted
nix run .#bootstrap <machine name> [machine IP]
machine name
is a machine identificator, one from the./machines
machine ip
is optional, if not provided, it will be picked up from./machines/<machine>/default.nix
deploy .#<machine name>