Update NixOS readme
parent
000eeec743
commit
28aa4db8ed
|
@ -1,9 +1,7 @@
|
||||||
# nixos
|
# nixos
|
||||||
|
|
||||||
My NixOS config
|
## Create VM host ([`disko`](https://github.com/nix-community/disko/blob/master/docs/interactive-vm.md))
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://git.hektormisplon.xyz/hektor/nix.git
|
nix run -L '.#nixosConfigurations.mymachine.config.system.build.vmWithDisko'
|
||||||
cd nix
|
|
||||||
sudo nix --experimental-features "nix-command flakes" run 'github:nix-community/disko/latest#disko-install' -- --flake .#vm --disk root /dev/vda
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue