mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat: abstractions rework
This commit is contained in:
parent
ec7571171b
commit
0a6085cb49
48 changed files with 798 additions and 1219 deletions
|
|
@ -10,7 +10,11 @@
|
|||
sensitive = true;
|
||||
export = true;
|
||||
};
|
||||
|
||||
acme.account = {
|
||||
register = false;
|
||||
emailAddress = "kat@inskip.me";
|
||||
accountKeyPem = config.resources.acme_private_key.refAttr "private_key_pem";
|
||||
};
|
||||
providers.tailscale = {
|
||||
inputs = {
|
||||
api_key = config.variables.tailscale-apikey.ref;
|
||||
|
|
@ -18,6 +22,14 @@
|
|||
};
|
||||
};
|
||||
resources = {
|
||||
acme_private_key = {
|
||||
provider = "tls";
|
||||
type = "private_key";
|
||||
inputs = {
|
||||
algorithm = "RSA";
|
||||
rsa_bits = 4096;
|
||||
};
|
||||
};
|
||||
tailnet_devices = {
|
||||
type = "devices";
|
||||
provider = "tailscale";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue