chore(etna): split stuff into different files
This commit is contained in:
parent
da553350c6
commit
629130fed7
4 changed files with 48 additions and 34 deletions
24
systems/etna/uku.nix
Normal file
24
systems/etna/uku.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue