chore(etna): split stuff into different files

This commit is contained in:
uku 2024-04-13 14:34:10 +02:00
parent da553350c6
commit 629130fed7
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
4 changed files with 48 additions and 34 deletions

24
systems/etna/uku.nix Normal file
View file

@ -0,0 +1,24 @@
{
config,
mkSecrets,
...
}: {
age.secrets = mkSecrets {
apiRsEnv = {};
ukubotRsEnv = {};
};
cfTunnels."api.uku3lig.net" = "http://localhost:5000";
services = {
api-rs = {
enable = true;
environmentFile = config.age.secrets.apiRsEnv.path;
};
ukubot-rs = {
enable = true;
environmentFile = config.age.secrets.ukubotRsEnv.path;
};
};
}