From 02dbb4bcd43c8b0bbbfcb00e3995e80cba57a854 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 26 Mar 2022 16:28:31 +0100 Subject: ... --- modules/certspotter.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/certspotter.nix') diff --git a/modules/certspotter.nix b/modules/certspotter.nix index f82b004f..51c19e26 100644 --- a/modules/certspotter.nix +++ b/modules/certspotter.nix @@ -5,7 +5,7 @@ with lib; let cfg = config.services.certspotter; - startOptions = extraOptions + startOptions = cfg.extraOptions ++ optionals (cfg.logs != null) ["-logs" cfg.logs] ++ ["-watchlist" (pkgs.writeText "watchlist" (concatStringsSep "\n" cfg.watchList)) ]; -- cgit v1.2.3