gitea file properly linted
This commit is contained in:
parent
8bc05d559c
commit
f57f64a880
@ -10,8 +10,9 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.my.servers.gitea = setup.mkOptions "gitea" "git" 9083;
|
options.my.servers.gitea = setup.mkOptions "gitea" "git" 9083;
|
||||||
config.services = {
|
config = {
|
||||||
sops.secrets = lib.mkIf cfg.enable { gitea.sopsFile = ../../secrets/env.yaml; };
|
sops.secrets = lib.mkIf cfg.enable { gitea.sopsFile = ../../secrets/env.yaml; };
|
||||||
|
services = {
|
||||||
gitea = lib.mkIf cfg.enable {
|
gitea = lib.mkIf cfg.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
domain = cfg.host;
|
domain = cfg.host;
|
||||||
@ -81,4 +82,5 @@ in
|
|||||||
};
|
};
|
||||||
nginx.virtualHosts."${cfg.host}" = lib.mkIf cfg.enableProxy (setup.proxyReverseFix cfg);
|
nginx.virtualHosts."${cfg.host}" = lib.mkIf cfg.enableProxy (setup.proxyReverseFix cfg);
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user