Evie Litherland-Smith
a1c28e779a
Remove jupyter service and qbittorrent traefik route Add ntfy-sh (enabled) and initial grafana (not enabled) expressions Change services to call own traefik expression, rather than needing to be called explicitly
18 lines
432 B
Nix
18 lines
432 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./default.nix ];
|
|
services.traefik.dynamicConfigOptions = {
|
|
http = {
|
|
routers.gitea = {
|
|
rule = "Host(`git.xenia.me.uk`)";
|
|
entryPoints = [ "http" "https" ];
|
|
service = "gitea-websecure";
|
|
tls = { certResolver = "default"; };
|
|
};
|
|
services.gitea-websecure.loadBalancer.servers =
|
|
[{ url = "http://localhost:3000"; }];
|
|
};
|
|
};
|
|
}
|