bebop: update and enable gitea
This commit is contained in:
parent
65c0c66ad3
commit
750a10eb87
2 changed files with 22 additions and 0 deletions
|
@ -94,6 +94,7 @@
|
|||
./hosts/bebop/pihole.nix
|
||||
./hosts/bebop/ssh.nix
|
||||
./hosts/bebop/cloudflared.nix
|
||||
./hosts/bebop/gitea.nix
|
||||
|
||||
agenix.nixosModules.age
|
||||
./hosts/hermes/secrets/agenix.nix
|
||||
|
|
21
hosts/bebop/gitea.nix
Normal file
21
hosts/bebop/gitea.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
services = {
|
||||
gitea = {
|
||||
enable = true;
|
||||
user = "payas";
|
||||
appName = "bhankas: Gitea";
|
||||
useWizard = true;
|
||||
mailerPasswordFile = "/run/agenix/mu4e_gmail";
|
||||
database.passwordFile = "/run/agenix/agenix_relekarpayas_onedrive";
|
||||
settings = {
|
||||
server = {
|
||||
HTTP_ADDR = "127.0.0.1";
|
||||
HTTP_PORT = 8987;
|
||||
ROOT_URL = "https://git.bhankas.org";
|
||||
COOKIE_SECURE = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in a new issue