No description https://gensokyo.zone
Find a file
2024-01-07 13:05:53 -08:00
.github/workflows switch to release branch of ci 2023-04-18 15:00:23 -07:00
ci trusted and tf-nix inputs removed 2023-04-29 14:15:57 -07:00
modules feat: reisen containers 2024-01-06 15:12:16 -08:00
nixos refactor: systems/ folder 2024-01-07 13:05:53 -08:00
overlays chore: flake update 2023-12-29 14:37:24 -08:00
systems refactor: systems/ folder 2024-01-07 13:05:53 -08:00
.envrc tunnel was regenerated 2023-04-29 19:14:51 -07:00
.gitattributes sops git diff filter 2023-03-29 14:37:31 -07:00
.gitignore chore: git submodule tf readd 2022-07-26 11:36:42 -07:00
.rgignore refactor: get rid of config folder 2022-07-10 13:59:57 -07:00
.sops.yaml refactor: systems/ folder 2024-01-07 13:05:53 -08:00
code_of_conduct.md code of conduct no caps 2021-11-11 20:23:11 +00:00
default.nix feat: refactoring + system types 2022-10-02 13:35:55 -07:00
devShell.nix refactor: systems/ folder 2024-01-07 13:05:53 -08:00
flake.lock ci: flake update 2024-01-06 00:58:23 +00:00
flake.nix remove home-manager 2023-05-05 14:05:01 -07:00
inputs.nix trusted and tf-nix inputs removed 2023-04-29 14:15:57 -07:00
meta.nix refactor: systems/ folder 2024-01-07 13:05:53 -08:00
mkTree.nix feat: refactoring + system types 2022-10-02 13:35:55 -07:00
patchedInputs.nix feat: clean up the repo 2023-04-29 12:00:58 -07:00
readme.md chore: readme update 2024-01-06 15:46:10 -08:00
shell.nix feat: move to flakes 2022-07-10 13:57:40 -07:00
tree.nix fix: remove unused deprecated modules 2023-12-06 09:13:33 -08:00

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