gitea file properly linted

This commit is contained in:
Danilo Reyes 2025-09-20 15:57:01 -06:00
parent 8bc05d559c
commit f57f64a880

View File

@ -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);
}; };
};
} }