Skip to content
Oeiuwq Faith Blog OpenSource Porfolio

vorburger/nixfiles

Nix files of vorburger@

vorburger/nixfiles.json
{
"createdAt": "2025-10-12T23:46:49Z",
"defaultBranch": "develop",
"description": "Nix files of vorburger@",
"fullName": "vorburger/nixfiles",
"homepage": null,
"language": "Nix",
"name": "nixfiles",
"pushedAt": "2025-12-28T23:23:14Z",
"stargazersCount": 1,
"topics": [],
"updatedAt": "2025-12-28T23:23:17Z",
"url": "https://github.com/vorburger/nixfiles"
}

The ❄️ Nix files of @vorburger. (These are dendritic”.)

dotfiles ⚆ are here; I’ve also got 🔮 aifiles.

Originally explored in my LearningLinux 🐧 repo. and the dotfiles/NixOS; TODO consolidate.

Install Nix and direnv, and clone this repo, then cd (which will automagically put nixos-rebuild on your PATH) and run:

bin/vm.sh test1

It should ssh into the VM (alternatively, you can login as tester with password x on the Console).

This does not (need to install) use any bootloader, as qemu directly boots the kernel. (TODO Remove the Disko and GRUB bits from test1.nix.)

nix build .#nixosConfigurations.installer.config.system.build.isoImage
sudo chown vorburger:vorburger result/iso/nixos-minimal-*-linux.iso

Run result/iso/nixos-minimal-*-x86_64-linux.iso in e.g. GNOME Boxes. To write it to USB stick and boot a physical machine from it:

sudo dd if=result/iso/nixos-*.iso of=/dev/... status=progress

You’ll be auto logged on the console as nixos (without password); type ip addr to find out the IP address assigned via DHCP; then SSH into it with the baked-in SSH public key as user nixos:

ssh -o StrictHostKeyChecking=no -o "UserKnownHostsFile /dev/null" nixos@192.168.122.3

And now we can use [NixOS Anywhere]!(docs/docs/reference/nixos-anywhere.md) to install NixOS:

nix run github:nix-community/nixos-anywhere -- --flake .#vm1 --target-host nixos@192.168.122.3

If it works and completes successfully, you can then ssh into the installed VM as user vorburger:

ssh -A vorburger@192.168.122.3

nix build .#documentation produces the static HTML documentation site in result/.

nix run .#watch-documentation serves the documentation locally with live-rebuilds