nix-da/home/waybar/default.nix

20 lines
293 B
Nix

{
pkgs,
lib,
config,
...
}:
let
toCSS = import ./tocss.nix;
in
lib.mkIf config.programs.waybar.enable {
programs.waybar = {
style = toCSS {
inherit pkgs;
file = ./style.scss;
};
settings = {
main = import ./config.nix { inherit pkgs; };
};
};
}