From 124a9c3e040308efdc3b60c235aedd1fdf3f266b Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Mon, 21 Jul 2025 20:11:09 +0530 Subject: Fix dumdum author's screwups --- services/bacchus-dashboard/bacchus-dashboard.service.nix | 2 +- services/bacchus-dashboard/dashboard-template.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'services') diff --git a/services/bacchus-dashboard/bacchus-dashboard.service.nix b/services/bacchus-dashboard/bacchus-dashboard.service.nix index 8b0fcb9..7a38369 100644 --- a/services/bacchus-dashboard/bacchus-dashboard.service.nix +++ b/services/bacchus-dashboard/bacchus-dashboard.service.nix @@ -24,7 +24,7 @@ in type = types.listOf (types.attrs); default = []; }; - embedLink = mkOption { type = types.str; }; + embedLink = mkOption { type = types.str; default = ""; }; openFirewall = mkEnableOption "Open firewall ports"; host = mkOption { type = types.str; default = "_"; }; port = mkOption { type = types.int; default = 80; }; diff --git a/services/bacchus-dashboard/dashboard-template.nix b/services/bacchus-dashboard/dashboard-template.nix index 9883a1d..7b34490 100644 --- a/services/bacchus-dashboard/dashboard-template.nix +++ b/services/bacchus-dashboard/dashboard-template.nix @@ -125,7 +125,7 @@ in - ${if embedLink == null then "" else '' + ${if embedLink == null || embedLink == "" then "" else ''
-- cgit v1.3.1