Move web services to subdomains

This commit is contained in:
2020-08-24 15:07:55 +02:00
parent 408f724669
commit 351926fb16
2 changed files with 70 additions and 46 deletions

View File

@@ -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; };
};
}