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

19 lines
395 B
Nix
Executable file

{
config,
flake,
pkgs,
...
}:
let
configPath = ./config;
settingsPath = import (configPath + /settings.nix) { inherit config flake; };
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;
};
}