My Nix configuration. Enter at your own risk.
0

Configure Feed

Select the types of activity you want to include in your feed.

262 2 0

Clone this repository

https://git.vm.fail/isaaccorbrey.com/dotnix https://git.vm.fail/did:plc:xvmxxyw5wngr7q5us6tow2pc
ssh://git@knot1.tangled.sh:2222/isaaccorbrey.com/dotnix ssh://git@knot1.tangled.sh:2222/did:plc:xvmxxyw5wngr7q5us6tow2pc

For self-hosted knots, clone URLs may differ based on your setup.


README.md

.nix#

My Nix configuration. Enter at your own risk.

# Set up the repo
jj git clone https://tangled.org/isaaccorbrey.com/dotnix ~/.nix
cd ~/.nix
nix develop

# Initialize a new host
just init # or just init <hostname>

# Install an existing host
just install # or just install <hostname>

Bootstrap a new NixOS host#

From the NixOS installer ISO:

curl -fsSL https://tangled.org/isaaccorbrey.com/dotnix/raw/main/bootstrap.sh | sudo sh

Prompts (via gum) for host (queried from the flake's nixosConfigurations), user (from matching homeConfigurations.<user>@<host>), target disk, swap size, and password; then partitions, formats, mounts, runs nixos-install, and activates home-manager. The repo lands at ~/.nix on the installed system, owned by the selected user.

License#

My Nix configuration is distributed under the MIT license.