Move web services to subdomains
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
# Software development configuration
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
{ config, pkgs, lib, ... }: {
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
gitea
|
||||
];
|
||||
environment.systemPackages = with pkgs; [ gitea ];
|
||||
|
||||
# Gitea setup with daily backup
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
domain = "coolneng.duckdns.org";
|
||||
rootUrl = "https://coolneng.duckdns.org/gitea";
|
||||
domain = "git.coolneng.duckdns.org";
|
||||
rootUrl = "https://git.coolneng.duckdns.org";
|
||||
database = {
|
||||
type = "postgres";
|
||||
passwordFile = "/var/keys/gitea/db";
|
||||
@@ -19,8 +16,6 @@
|
||||
disableRegistration = true;
|
||||
repositoryRoot = "/vault/git";
|
||||
appName = "Gitea";
|
||||
dump = {
|
||||
enable = false;
|
||||
};
|
||||
dump = { enable = false; };
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user