flux/cluster/base | ||
nixos | ||
.gitignore | ||
README.md |
strato-infra
This is my nix infrastructure that runs on my strato server.
nixos image
To get a basic nixos image use nix build .#register
.
Afterwards you can import it into lxd using lxc image import ./result/metadata.tar.xz ./result/lxc.tar.xz security.nesting=true --alias nixos
You can then use lxc launch nixos $name$
to make a new lxc container and start it.