feat(MOMO): add yarr
This commit is contained in:
parent
ec79c1b3e3
commit
18823ce0bf
4 changed files with 31 additions and 0 deletions
|
|
@ -16,6 +16,13 @@
|
|||
proxyPass = "http://127.0.0.1:8005";
|
||||
};
|
||||
};
|
||||
virtualHosts."yarr.dryb.org" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8007";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
|
|
|
|||
14
hosts/MOMO/services/yarr.nix
Normal file
14
hosts/MOMO/services/yarr.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, ... }: {
|
||||
|
||||
age.secrets.environments-yarr = {
|
||||
file = ../../../secrets/environments/yarr.age;
|
||||
};
|
||||
|
||||
services.yarr = {
|
||||
enable = true;
|
||||
port = 8007;
|
||||
address = "127.0.0.1";
|
||||
baseUrl = "https://yarr.dryb.org";
|
||||
authFilePath = config.age.secrets.environments-yarr.path;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue