mirror of
https://codeberg.org/privacy1st/nixos-anywhere-example
synced 2024-11-21 22:03:19 +01:00
47 lines
989 B
Markdown
47 lines
989 B
Markdown
# disko + nixos-anywhere workshop
|
|
|
|
## Build installer ISO with SSH
|
|
|
|
```shell
|
|
nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix
|
|
ls result/iso/
|
|
```
|
|
|
|
## Installation
|
|
|
|
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
|
|
```
|
|
|