2023-08-16 15:19:40 +02:00
|
|
|
# disko + nixos-anywhere workshop
|
|
|
|
|
2023-10-12 13:01:44 +02:00
|
|
|
## Build installer ISO with SSH
|
|
|
|
|
|
|
|
```shell
|
|
|
|
nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix
|
|
|
|
ls result/iso/
|
|
|
|
```
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2023-08-16 15:19:40 +02:00
|
|
|
This is an example repo for nixos-anywhere and disko.
|
|
|
|
It's part of our CCC camp workshop.
|
|
|
|
|
|
|
|
To run the interactive vm test run:
|
|
|
|
|
|
|
|
```
|
|
|
|
nix run github:numtide/nixos-anywhere -- --flake '.#mysystem' --vm-test
|
|
|
|
```
|
|
|
|
|
|
|
|
You can also install the vm on some remote system when running
|
|
|
|
|
|
|
|
```
|
|
|
|
nix run github:numtide/nixos-anywhere -- --flake '.#mysystem' root@192.168.0.10
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Improve this workshop README:
|
|
|
|
|
|
|
|
# disko + nixos-anywhere workshop
|
|
|
|
|
|
|
|
This is an example repo for nixos-anywhere and disko.
|
|
|
|
It's part of our CCC camp workshop.
|
|
|
|
|
|
|
|
To run the interactive vm test run:
|
|
|
|
|
|
|
|
```
|
|
|
|
nix run github:numtide/nixos-anywhere -- --flake '.#mysystem' --vm-test
|
|
|
|
```
|
|
|
|
|
|
|
|
You can also install the vm on some remote system when running
|
|
|
|
|
|
|
|
```
|
|
|
|
nix run github:numtide/nixos-anywhere -- --flake '.#mysystem' root@192.168.0.10
|
|
|
|
```
|
|
|
|
|