Update NixOS readme

Hektor Misplon 2025-10-05 12:35:10 +02:00
parent 000eeec743
commit 28aa4db8ed
1 changed files with 2 additions and 4 deletions

View File

@ -1,9 +1,7 @@
# 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
cd nix
sudo nix --experimental-features "nix-command flakes" run 'github:nix-community/disko/latest#disko-install' -- --flake .#vm --disk root /dev/vda
nix run -L '.#nixosConfigurations.mymachine.config.system.build.vmWithDisko'
```