nixos/modules/desktop/bspwm/lemonbar/default.nix

25 lines
500 B
Nix
Raw Normal View History

2023-07-12 16:42:51 +04:00
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.bspwm.lemonbar;
in
{
options.modules.desktop.bspwm.lemonbar = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
lemonbar-xft
];
home-manager.users.sako = { pkgs, ...}: {
xdg.configFile = {
lemonbar = {
2023-07-12 16:44:24 +04:00
source = ../../../../config/lemonbar;
2023-07-12 16:42:51 +04:00
recursive = true;
};
};
};
};
}