1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

feat: add generation of installer image for each host

This commit is contained in:
oddlama 2023-04-26 23:52:25 +02:00
parent 05ce0e6f5c
commit 3e810b1711
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
7 changed files with 245 additions and 19 deletions

View file

@ -32,6 +32,7 @@ This is my personal nix config.
- `format-secrets.nix` Runs the code formatter on the secret .nix files
- `generate-initrd-keys.nix` Generates initrd hostkeys for each host if they don't exist yet (for setup)
- `generate-wireguard-keys.nix` Generates wireguard keys for each server-and-peer pair
- `show-wireguard-qr.nix` Generates a QR code for external wireguard participants
- `checks.nix` pre-commit-hooks for this repository
- `colmena.nix` Setup for distributed deployment using colmena (actually defines all NixOS hosts)
- `dev-shell.nix` Environment setup for `nix develop` for using this flake
@ -49,7 +50,7 @@ This is my personal nix config.
## How-To
#### Add and deploy new machine
#### Add new machine
...
@ -60,6 +61,11 @@ This is my personal nix config.
- generate-initrd-keys
- generate-wireguard-keys
#### Initial deploy
- Boot from some nixos-minimal.iso
-
#### Show QR for external wireguard client
nix run show-wireguard-qr