..
2024-12-21 14:31:57 -08:00
2023-11-19 12:18:45 -08:00
2024-12-05 12:41:02 -08:00
2024-11-10 23:12:56 -08:00
2024-11-01 22:07:00 -07:00
2024-09-29 21:15:53 -07:00
2024-11-27 13:50:36 -08:00
2024-10-16 10:56:56 -07:00

Provision NixOS

*NixOS was a mistake.*

Set of configs files to setup NixOS.

Install

  1. Download and install NixOS with current GNOME ISO.

  2. Boot into installed system and run the following commands:

nix-shell -p vim git neovim
git clone https://github.com/starr-dusT/dotfiles ~/.local/share/chezmoi 
  1. Copy existing configuration files from another host and modify as needed. Make sure to move the installer created configuration-hardware.nix to dotfiles (e.g. provision/hosts/<host>/hardware.nix).

  2. If required move agenix keypairs to ~/.ssh/keys/{age,age.pub}. A new keypair may be required and agenix files will need to be rekeyed on another system.

  3. Rebuild the system and initialize chezmoi dotfiles to save America:

sudo nixos-rebuild switch --flake .#<host>
chezmoi init && chezmoi apply
  1. Profit!

Perform additional setup found in additional-setup

Update

nixos-rebuild command is aliased to nu assuming the machine's flake output is named the same at the hostname of the machine.