Priliminary support for traefik

This commit is contained in:
Natsu Kagami 2021-10-31 17:37:04 -04:00
parent 6efb74062b
commit 181f6bc408
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
4 changed files with 92 additions and 4 deletions

View file

@ -3,8 +3,9 @@
./hardware-configuration.nix
./networking.nix # generated at runtime by nixos-infect
# Set up postgresql
../modules/postgresql
# Set up cloud
../modules/cloud/postgresql
../modules/cloud/traefik
];
boot.cleanTmpDir = true;
@ -42,4 +43,8 @@
services.my-tinc.hostName = "cloud";
sops.secrets.tinc-private-key = { };
services.my-tinc.rsaPrivateKey = config.sops.secrets.tinc-private-key.path;
# Set up traefik
sops.secrets.cloudflare-dns-api-token = {};
cloud.traefik.cloudflareKeyFile = config.sops.secrets.cloudflare-dns-api-token.path;
}

File diff suppressed because one or more lines are too long