blob: 42583dd09663d13d9bf2e24e16156e09ae28fc34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
{ lib, ... }:
let
settings = import ../../settings.nix { inherit lib; };
ports = settings.network.ports;
in
{
imports = [ ./bacchus-dashboard.service.nix ];
services.bacchus-dashboard = {
enable = true;
openFirewall = true;
port = ports.dashboard;
title = "Bacchus Dashboard";
links = [
{
title = "Jellyfin";
key = "j";
url = "http://jellyfin.local";
altUrl = "http://${settings.network.host}:${toString ports.jellyfin}";
color = "#AA5CC3";
}
{
title = "Sonarr";
key = "s";
url = "http://sonarr.local";
altUrl = "http://${settings.network.host}:${toString ports.sonarr}";
color = "#4c82cf";
}
{
title = "Radarr";
key = "r";
url = "http://radarr.local";
altUrl = "http://${settings.network.host}:${toString ports.radarr}";
color = "#fcbd00";
}
{
title = "Prowlarr";
key = "p";
url = "http://prowlarr.local";
altUrl = "http://${settings.network.host}:${toString ports.prowlarr}";
color = "#ff9a7e";
}
{
title = "Syncthing";
key = "y";
url = "http://syncthing.local";
altUrl = "http://${settings.network.host}:${toString ports.syncthing}";
color = "#0891d1";
}
{
title = "Ntfy-sh";
key = "n";
url = "http://ntfy.local";
altUrl = "http://${settings.network.host}:${toString ports.ntfy}";
color = "#2dc9b5";
}
{
title = "Grafana";
key = "g";
url = "http://grafana.local";
altUrl = "http://${settings.network.host}:${toString ports.grafana}";
color = "#f05a28";
}
];
};
}
|