mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
No description
https://gensokyo.zone
| .github/workflows | ||
| ci | ||
| modules | ||
| nixos | ||
| overlays | ||
| packages | ||
| systems | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| .rgignore | ||
| .sops.yaml | ||
| code_of_conduct.md | ||
| default.nix | ||
| devShell.nix | ||
| flake.lock | ||
| flake.nix | ||
| inputs.nix | ||
| meta.nix | ||
| mkTree.nix | ||
| patchedInputs.nix | ||
| readme.md | ||
| shell.nix | ||
| tree.nix | ||
nixfiles
Build and Deploy
:; export NF_HOST=tewi
:; nf-deploy build
# switch without committing to it...
:; nf-deploy test
# then deploy..!
:; nf-deploy switch
The above is just a convenience wrapper around nixos-rebuild:
:; nixos-rebuild switch --flake .#tewi --target-host tewi --use-remote-sudo
Editing Secrets
sops nixos/systems/tewi/secrets.yaml
Adding Hosts
NF_ADDR=10.1.1.xxx nf-deploy sops-keyscan
vim .sops.yaml
Proxmox
Template
NF_HOST=reisen-ct nf-deploy tarball