feature(config): Allow pkgs config

This commit is contained in:
DashieTM 2025-11-01 23:19:25 +01:00
parent 96cf0a24c1
commit b39db82a29
8 changed files with 104 additions and 52 deletions

View file

@ -4,6 +4,7 @@
pkgs,
inputs,
options,
mkDashDefault,
...
}: let
inherit (config.conf) username;
@ -263,8 +264,7 @@ in {
config = lib.mkIf (config.mods.ironbar.enable || config.mods.hypr.hyprland.useIronbar) (
lib.optionalAttrs (options ? programs.ironbar) {
programs.ironbar = {
# TODO broken
# package = mkDashDefault pkgs.ironbar;
package = mkDashDefault pkgs.ironbar;
enable = true;
style =
if config.mods.ironbar.useDefaultCss