diff --git a/modules/programs/waybar.nix b/modules/programs/waybar.nix index e7963e82..1d76b565 100644 --- a/modules/programs/waybar.nix +++ b/modules/programs/waybar.nix @@ -156,7 +156,7 @@ in { }; settings = mkOption { - type = listOf waybarBarConfig; + type = either (listOf waybarBarConfig) (attrsOf waybarBarConfig); default = [ ]; description = '' Configuration for Waybar, see