dotfiles/modules/home/gui/desktop/wayland/waybar/default.nix

20 lines
389 B
Nix
Raw Normal View History

2025-03-29 23:08:26 -05:00
{
config,
flake,
pkgs,
...
}:
let
configPath = ./config;
settingsPath = import (configPath + /settings.nix) { inherit config; };
stylePath = import (configPath + /style.nix) { inherit config flake; };
in
{
programs.waybar = {
enable = true;
# package = flake.inputs.waybar.packages.${pkgs.system}.default;
settings = settingsPath;
style = stylePath;
};
}