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
16 lines
415 B
Nix
16 lines
415 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./default.nix ];
|
|
services.traefik.dynamicConfigOptions.http = {
|
|
routers.adguard = {
|
|
rule = "Host(`guard.xenia.me.uk`)";
|
|
entryPoints = [ "http" "https" ];
|
|
service = "adguard-webinterface";
|
|
tls = { certResolver = "default"; };
|
|
};
|
|
services.adguard-webinterface.loadBalancer.servers =
|
|
[{ url = "http://localhost:3001"; }];
|
|
};
|
|
}
|