Closed NicolasGuilloux closed 3 weeks ago
You are running the x86_64 image on an aarch64 system. This will not work.
I did not upload images for both architectures. But you can always build your own on your architecture if you have Nix already installed somewhere.
I could upload a new release for x86_64 and one for ARM, or you can simply build your own in the mean time.
Here is a PR to build the aarch64-linux
from the Github Actions.
Just to point that I had to extract manually the tar.xz
file in /data/custom/machines
before hand, the import-tar does not seem to work on the UDM. Please refer to the following doc for installing on your Unifi device: https://github.com/unifi-utilities/unifios-utilities/blob/main/nspawn-container/README.md
Hi there!
I'm trying to use your repository to start it on a UDM Pro. I tried several things without success, so I'm just posting here whatever I found. I would love to be able to manage a small NixOS VM within the UDM for vital network applications (such as network.xyz, Adguard, cloudflared, traefik, ...)
Importing tar
There is an error while importing the tar file with a lot of lines similar to the following:
I have no idea why it does this. I tried to loop online without success either.
Extracting by hand
I used
tar -xf nixos.tar.xz
to extract the folder, and then I directly usedsystemd-nspawn
to start it. I get the following error: