strato-infra/README.md

10 lines
380 B
Markdown
Raw Normal View History

2022-05-19 15:12:01 +02:00
# 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`.
2022-05-19 17:47:41 +02:00
Afterwards you can import it into lxd using `lxc image import ./result/metadata.tar.xz ./result/lxc.tar.xz security.nesting=true --alias nixos`
2022-05-19 15:12:01 +02:00
You can then use `lxc launch nixos $name$` to make a new lxc container and start it.