From cb136f37c7c760cbc39bc334702e4d814b8920b1 Mon Sep 17 00:00:00 2001 From: Andrew Jeffery Date: Mon, 21 Dec 2020 12:11:38 +0000 Subject: [PATCH] mako: add extraConfig option --- modules/services/mako.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/services/mako.nix b/modules/services/mako.nix index 77ea30116..e8f4d38c2 100644 --- a/modules/services/mako.nix +++ b/modules/services/mako.nix @@ -271,6 +271,15 @@ in { ''; }; + extraConfig = mkOption { + default = ""; + type = types.lines; + example = literalExample '' + [urgency=low] + border-color=#b8bb26 + ''; + description = "Additional configuration."; + }; }; }; @@ -311,6 +320,8 @@ in { ${optionalInteger "default-timeout" cfg.defaultTimeout} ${optionalBoolean "ignore-timeout" cfg.ignoreTimeout} ${optionalString "group-by" cfg.groupBy} + + ${cfg.extraConfig} ''; }; }