strato-infra/README.md

10 lines
380 B
Markdown

# 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.