From fbc47b7bbccb7a1325cad65a30509233193484a7 Mon Sep 17 00:00:00 2001 From: Yusef Napora Date: Thu, 13 Jul 2023 14:53:24 -0400 Subject: [PATCH] use `types.lines` for yabai.extraConfig option This allows setting the option definition in multiple locations. The final value will be all definitions concatenated with `\n`. --- modules/services/yabai/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/yabai/default.nix b/modules/services/yabai/default.nix index 06ef289e..d6af899c 100644 --- a/modules/services/yabai/default.nix +++ b/modules/services/yabai/default.nix @@ -62,7 +62,7 @@ in }; services.yabai.extraConfig = mkOption { - type = str; + type = lines; default = ""; example = literalExpression '' yabai -m rule --add app='System Preferences' manage=off