From 080e8b48b0318b38143d5865de9334f46d51fce3 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 26 Jun 2025 23:36:45 +0200 Subject: [PATCH] mako: "settings" is an attrset, so use that as example too (#7330) Signed-off-by: Matthias Beyer --- modules/services/mako.nix | 42 +++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/modules/services/mako.nix b/modules/services/mako.nix index 49be40034..cca30a2ed 100644 --- a/modules/services/mako.nix +++ b/modules/services/mako.nix @@ -108,29 +108,27 @@ in ] ); default = { }; - example = '' - { - actions = true; - anchor = "top-right"; - background-color = "#000000"; - border-color = "#FFFFFF"; - border-radius = 0; - default-timeout = 0; - font = "monospace 10"; - height = 100; - width = 300; - icons = true; - ignore-timeout = false; - layer = "top"; - margin = 10; - markup = true; + example = { + actions = true; + anchor = "top-right"; + background-color = "#000000"; + border-color = "#FFFFFF"; + border-radius = 0; + default-timeout = 0; + font = "monospace 10"; + height = 100; + width = 300; + icons = true; + ignore-timeout = false; + layer = "top"; + margin = 10; + markup = true; - # Section example - "actionable=true" = { - anchor = "top-left"; - }; - } - ''; + # Section example + "actionable=true" = { + anchor = "top-left"; + }; + }; description = '' Configuration settings for mako. Can include both global settings and sections. All available options can be found here: