\-knot
This commit is contained in:
@@ -11,17 +11,8 @@
|
||||
./hardware-configuration.nix
|
||||
../../modules/nixos
|
||||
inputs.disko.nixosModules.disko
|
||||
inputs.tangled.nixosModules.knot
|
||||
];
|
||||
|
||||
services.tangled.knot = {
|
||||
enable = true;
|
||||
server = {
|
||||
hostname = "knot.schmatzler.com";
|
||||
owner = "did:plc:yiapylv5gwzlyzesppjmukvj";
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
|
||||
services.gitea = {
|
||||
@@ -30,19 +21,19 @@
|
||||
type = "sqlite3";
|
||||
path = "/var/lib/gitea/data/gitea.db";
|
||||
};
|
||||
settings.server = {
|
||||
settings = {
|
||||
server = {
|
||||
ROOT_URL = "https://git.schmatzler.com/";
|
||||
DOMAIN = "git.schmatzler.com";
|
||||
HTTP_ADDR = "127.0.0.1";
|
||||
HTTP_PORT = 3000;
|
||||
};
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts."knot.schmatzler.com".extraConfig = ''
|
||||
reverse_proxy localhost:5555
|
||||
'';
|
||||
virtualHosts."git.schmatzler.com".extraConfig = ''
|
||||
reverse_proxy localhost:3000
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user