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 <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-07-03 23:17:00 -05:00
parent 83f978812c
commit 31242bdf8f

View file

@ -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; };