Skip to content

vorburger/nixfiles

Repository files navigation

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.

Usage

Test VM

To run local virtual machines for testing your host configurations, please refer to the Testing in Virtual Machines tutorial.

Installation

  • Testing in Virtual Machines (VM): Refer to the Testing in Virtual Machines tutorial for lightweight dev VM, full bootable VM, and nixos-anywhere VM installation instructions.
  • Bare-Metal Installation (BM): Refer to the Bare-Metal Installation reference for installer ISO creation, flashing, target host configuration, and bare-metal deployment.

Maintenance

Remote

Change *.nix files for any host on any host, and then just:

nixos-rebuild switch --flake .#$HOSTNEW --target-host $HOSTNEW --sudo --ask-sudo-password

Local

Change *.nix files locally, and then just:

sudo nixos-rebuild switch --flake .

Docs

nix build .#documentation produces the static HTML documentation site in result/ (built using Zensical).

nix run .#watch-documentation (or watch-documentation in the nix develop shell) serves the documentation locally with live-rebuilds.

It's published to https://nixfiles.vorburger.ch.

Contributors