Skip to content

This hackathon will show you how easy it is to create your own image with NixOS

License

Notifications You must be signed in to change notification settings

baramundisoftware/hackaton-nixos-live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hackaton Custom NixOS Live Linux

Whether for setup, backup, recovery, forensics, wiping, or just for surfing, your own customized live Linux, whether as an ISO or USB stick, quickly becomes a useful companion in everyday IT life. This hackathon will show you how easy it is to create your own image with NixOS(-generators).

This repository provides a sample configuration for the Hackerkiste event taking place on 25.10.2024. No active maintenance.

Run Virtual Machine (Linux)

> $(nix-build '<nixpkgs/nixos>' -A vm -I nixpkgs=channel:nixos-24.05 -I nixos-config=./configuration.nix --no-out-link)/bin/run-nixos-vm -smp 4 -m 2048

Connect to QEMU VNC

> nix-shell -p tigervnc --command "vncviewer localhost:5900"

Build ISO (Linux and WSL)

> nix-shell -p nixos-generators --command 'cp $(nixos-generate -c configuration.nix -I nixpkgs=channel:nixos-24.05 -f iso) nixos-custom.iso'

Run ISO on NixOS

> nix-shell -p qemu --command 'qemu-kvm -cdrom ./nixos-custom.iso -m 2048 -smp 4 -device virtio-vga'

About

This hackathon will show you how easy it is to create your own image with NixOS

Resources

License

Stars

Watchers

Forks

Languages