initial config with paste and git
This commit is contained in:
parent
6524349eee
commit
8c7c87968e
4 changed files with 114 additions and 0 deletions
22
o-git-forgejo.nix
Normal file
22
o-git-forgejo.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
domain = "gagegit.chicagotea.click";
|
||||
in
|
||||
{
|
||||
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
settings = {
|
||||
mailer.ENABLED = false;
|
||||
server = {
|
||||
DOMAIN = domain;
|
||||
ROOT_URL = "https://${domain}/";
|
||||
};
|
||||
repository.ENABLE_PUSH_CREATE_USER = true;
|
||||
#service.DISABLE_REGISTRATION = true;
|
||||
};
|
||||
};
|
||||
services.caddy.virtualHosts.${domain}.extraConfig = ''
|
||||
reverse_proxy :3000
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue