feat(forgejo): Update to 1.20.4-0 via patch
This commit is contained in:
parent
17149184a9
commit
4e618d6129
3 changed files with 41 additions and 10 deletions
|
@ -1,14 +1,12 @@
|
|||
{ config, lib, pkgs, dgn-lib, ... }:
|
||||
|
||||
let
|
||||
inherit (dgn-lib)
|
||||
setDefault;
|
||||
inherit (dgn-lib) setDefault;
|
||||
|
||||
port = 3000;
|
||||
host = "git.dgnum.eu";
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
|
||||
|
@ -75,9 +73,7 @@ in
|
|||
virtualHosts.${host} = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:${toString port}";
|
||||
};
|
||||
locations."/" = { proxyPass = "http://127.0.0.1:${toString port}"; };
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -92,9 +88,8 @@ in
|
|||
users.groups.git = { };
|
||||
|
||||
dgn-secrets.options = [
|
||||
(setDefault { owner = "git"; } (builtins.filter
|
||||
(lib.hasPrefix "forgejo")
|
||||
config.dgn-secrets.names))
|
||||
(setDefault { owner = "git"; }
|
||||
(builtins.filter (lib.hasPrefix "forgejo") config.dgn-secrets.names))
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue