From c7f3acde9719e1bdc109bcf00477e6c344d9ee6d Mon Sep 17 00:00:00 2001 From: Ryan Lahfa Date: Thu, 10 Oct 2024 12:27:40 +0200 Subject: [PATCH] feat(infra): introduce Terranix This requires the support for monorepo-terraform-state.s3.dgnum.eu being available. `.credentials/` is age-encrypted using only my key for now until we figure out the right mechanism. Signed-off-by: Ryan Lahfa --- .credentials/admin-environment.age | 27 ++++++++++++++++++++++ .credentials/secrets.nix | 6 +++++ .gitignore | 3 +++ default.nix | 36 ++++++++++++++++++++++++++++++ npins/sources.json | 15 +++++++++++++ terranix/common.nix | 7 ++++++ terranix/default.nix | 6 +++++ terranix/state.nix | 21 +++++++++++++++++ 8 files changed, 121 insertions(+) create mode 100644 .credentials/admin-environment.age create mode 100644 .credentials/secrets.nix create mode 100644 terranix/common.nix create mode 100644 terranix/default.nix create mode 100644 terranix/state.nix diff --git a/.credentials/admin-environment.age b/.credentials/admin-environment.age new file mode 100644 index 0000000..e44aab3 --- /dev/null +++ b/.credentials/admin-environment.age @@ -0,0 +1,27 @@ +age-encryption.org/v1 +-> ssh-ed25519 jIXfPA sIWcGSvcykz9kOFJYILgAm5Xq2PBInCzJP4T2pJKcCE +/lLwSyz7O2GcrL/m8tLswJxqUHWjMmixnZgaMIbcJlU +-> ssh-ed25519 QlRB9Q tKNkVMqaxZjjxTTYUiAUMYb+br7bNNpeBU0sacEFchw +NHBW4eOGqqstzN5flNPPYCSq1gZSXgqWceXuxFvKMFE +-> ssh-ed25519 r+nK/Q ULxI2nmWCE3/k8zlD40HrfIRXHGDSIJn0WWTBSUfqAU +27Yp/f6Kq/xxhN2TBfsm+IcowXPA7258mqwOHCWwtNo +-> ssh-rsa krWCLQ +cLJmGyyl8JnQhnhqUYLy5nGy83aGB1CeuOSOzuxpUHutnwprbTCQbQDDmMHepzkE +gO+vqX95E3Y1XH916kV6+0IfgrbUdN3HdQylquHAwrW47en/Nmcnzqmn2eLZv6AJ +o+HvxlVIj6TnQehuidVPZN1uppgKnmwvl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