From 31242bdf8f5fff430a23bc167dd8e0fb2fce4c35 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 3 Jul 2025 23:17:00 -0500 Subject: [PATCH] polybar: fix meta.maintainer position We generate the maintainer list from `meta.maintainers` and need the attribute to be available on eval of all modules. It was set in the `config` option which would only be evaluated when a module was enabled. Signed-off-by: Austin Horstman --- modules/services/polybar.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/services/polybar.nix b/modules/services/polybar.nix index 019c6305..582d8689 100644 --- a/modules/services/polybar.nix +++ b/modules/services/polybar.nix @@ -84,6 +84,8 @@ let in { + meta.maintainers = with lib.maintainers; [ h7x4 ]; + options = { services.polybar = { enable = lib.mkEnableOption "Polybar status bar"; @@ -228,8 +230,6 @@ in (lib.hm.assertions.assertPlatform "services.polybar" pkgs lib.platforms.linux) ]; - meta.maintainers = with lib.maintainers; [ h7x4 ]; - home.packages = [ cfg.package ]; xdg.configFile."polybar/config.ini" = mkIf (configFile != null) { source = configFile; };