My NixOS config
 
 
 
 
 
 
Go to file
Hektor Misplon 9c250f3d50 Update NixOS readme 2025-10-05 12:36:14 +02:00
dots Link NixOS repo in dotfiles repository 2025-10-04 18:33:55 +02:00
hosts/vm Use disko 'single-disk-ext4' template for vm host 2025-10-05 12:31:24 +02:00
modules Set up disko zfs encrypted root for 'vm' host 2025-10-05 12:31:24 +02:00
.gitignore Initialize NixOS config repo 2025-10-04 01:17:05 +02:00
README.md Update NixOS readme 2025-10-05 12:36:14 +02:00
flake.lock Use disko 'single-disk-ext4' template for vm host 2025-10-05 12:31:24 +02:00
flake.nix Use disko 'single-disk-ext4' template for vm host 2025-10-05 12:31:24 +02:00

README.md

nixos

Set up virtual machine (disko)

  1. Build the virtual machine
nix run -L '.#nixosConfigurations.mymachine.config.system.build.vmWithDisko'
  1. Run the virtual machine
QEMU_KERNEL_PARAMS=console=ttyS0 ./result/bin/run-nixos-vm -nographic; reset