add gitea config
This commit is contained in:
parent
111c4d065d
commit
ee790d39c2
26
profiles/servers/gitea.nix
Normal file
26
profiles/servers/gitea.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ pkgs, config, lib, ... }:
|
||||||
|
{
|
||||||
|
secrets.gitea = {
|
||||||
|
owner = "gitea";
|
||||||
|
};
|
||||||
|
|
||||||
|
services.gitea = {
|
||||||
|
enable = true;
|
||||||
|
appName = "AtaraxiaDev Gitea Instance";
|
||||||
|
cookieSecure = true;
|
||||||
|
database = {
|
||||||
|
type = "postgres";
|
||||||
|
passwordFile = config.secrets.gitea.decrypted;
|
||||||
|
};
|
||||||
|
disableRegistration = true;
|
||||||
|
domain = "code.ataraxiadev.com";
|
||||||
|
httpPort = 6000;
|
||||||
|
lfs.enable = true;
|
||||||
|
rootUrl = "https://code.ataraxiadev.com";
|
||||||
|
settings = {
|
||||||
|
server = {
|
||||||
|
SSH_DOMAIN = "gitea.ataraxiadev.com";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -109,6 +109,11 @@
|
|||||||
proxyPass = "http://localhost:13748";
|
proxyPass = "http://localhost:13748";
|
||||||
};
|
};
|
||||||
} // default;
|
} // default;
|
||||||
|
"code.ataraxiadev.com" = {
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:6000";
|
||||||
|
};
|
||||||
|
} // default;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -10,6 +10,7 @@
|
|||||||
kitty
|
kitty
|
||||||
|
|
||||||
coturn
|
coturn
|
||||||
|
gitea
|
||||||
mailserver
|
mailserver
|
||||||
matrix-synapse
|
matrix-synapse
|
||||||
nginx
|
nginx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user