Fediversity/launch
2025-04-09 17:03:43 +02:00
..
.terraform properly pass repo dir for prod, be it with hard-coded TF init 2025-04-09 17:03:43 +02:00
vm use flake-sourced nixos-anywhere in tf, to reproduce modules for nix 2025-04-09 17:00:20 +02:00
.auto.tfvars.json
.envrc
.gitignore properly pass repo dir for prod, be it with hard-coded TF init 2025-04-09 17:03:43 +02:00
.terraform.lock.hcl switch launch shell to root flake's nixpkgs, see #279 2025-04-09 17:00:20 +02:00
default.nix switch launch shell to root flake's nixpkgs, see #279 2025-04-09 17:00:20 +02:00
flake.lock
flake.nix
main.tf use flake-sourced nixos-anywhere in tf, to reproduce modules for nix 2025-04-09 17:00:20 +02:00
module.auto.tfvars.json
pass-ssh-key.sh
README.md move tf init out of python over read-only nix env 2025-04-09 17:03:43 +02:00
resource.nix
shell.nix
terraform.tfstate
terraform.tfstate.backup
tf-env.nix properly pass repo dir for prod, be it with hard-coded TF init 2025-04-09 17:03:43 +02:00
tf.nix

service deployment

usage

updating TF modules

echo "{\"nixos-anywhere\": $(nix-instantiate --eval --json -E '(import ../npins).nixos-anywhere.outPath')}" > .auto.tfvars.json

local development

$ nix-shell
$ tofu init