diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-07-20 00:47:48 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-07-20 00:48:45 +0530 |
| commit | 94f12611cf8ac342e042a9a331b44a64f4220b02 (patch) | |
| tree | 2544e50e80e2c1f1fc660375c1621fcfc0265f5f /modules/dashboard/default.nix | |
| parent | ac422f9df7ee60b7a814d89d111a04341e238dfb (diff) | |
| download | homeserver-nixos-config-94f12611cf8ac342e042a9a331b44a64f4220b02.tar.gz homeserver-nixos-config-94f12611cf8ac342e042a9a331b44a64f4220b02.zip | |
Remove grafana
Diffstat (limited to 'modules/dashboard/default.nix')
| -rw-r--r-- | modules/dashboard/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/dashboard/default.nix b/modules/dashboard/default.nix index f3c55ff..4dd3ef0 100644 --- a/modules/dashboard/default.nix +++ b/modules/dashboard/default.nix @@ -2,7 +2,7 @@ with lib; let links = import ./links.nix { inherit settings; }; - isKeysUnique = + areKeysUnique = let linkKeys = map (l: l.key) (filter (hasAttr "key") links); in length linkKeys == length (lib.unique linkKeys); in @@ -10,7 +10,7 @@ in imports = [ ../../services/bacchus-dashboard/bacchus-dashboard.service.nix ]; assertions = [ - { assertion = isKeysUnique; message = "The dashboard link 'key' property must be unique"; } + { assertion = areKeysUnique; message = "The dashboard link 'key' property must be unique"; } ]; services.bacchus-dashboard = { @@ -18,7 +18,7 @@ in openFirewall = true; port = settings.network.ports.dashboard; title = "Bacchus Dashboard"; - embedLink = settings.grafana.dashboardEmbedLink; + # embedLink = settings.grafana.dashboardEmbedLink; links = links; }; } |
