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:
parent
83f978812c
commit
31242bdf8f
1 changed files with 2 additions and 2 deletions
|
|
@ -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; };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue