Description: tdb.
To create a new host:
- Add it to flake.nix
- Create the config files:
./scripts/init-host-config.sh $NEW_HOST-
Update ./tofu/dns-dynamic.tf
-
Add to
/srv/luks-ssh-unlock/docker-compose.yaml(@fnuc) -
Deploy:
./tofu/tofu.sh init
./tofu/tofu.sh apply -target=module.nix-${NEW_HOST}- Remove its config from:
-
Remove from
/srv/luks-ssh-unlock/docker-compose.yaml(@fnuc)
HOST_TO_REMOVE=xxx
rm -rf "./host/$HOST_TO_REMOVE" "./tofu/${HOST_TO_REMOVE}.tf"
./secrets/sops-config-gen.sh --github-username pschmitt --auto- Use
just nix-update --listto see the available package attributes. - Run
just nix-update --package <name>to refresh a single package or omit the flag to sweep all custom packages. Add--buildto verify builds or--committo letnix-updatecreate commits. - Packages that need bespoke handling should define a
passthru.updateScriptalongside the derivation; the helper will use it automatically (disable with--no-update-script). Lingering skips live inpkgs/nix-update.json. - The scheduled workflow in
.github/workflows/nix-update.yamlruns daily and opens a pull request with automated updates when changes are detected.