23 lines
498 B
Nix
23 lines
498 B
Nix
{ outputs, options, config, lib, pkgs, ...}:
|
|
let
|
|
cfg = config.modules.desktop.bspwm.lemonbar;
|
|
in
|
|
{
|
|
options.modules.desktop.bspwm.lemonbar = {
|
|
enable = lib.mkEnableOption false;
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
users.users.sako.packages = with pkgs; [
|
|
lemonbar-xft
|
|
];
|
|
home-manager.users.sako = { pkgs, ...}: {
|
|
xdg.configFile = {
|
|
lemonbar = {
|
|
source = ../../../../config/lemonbar;
|
|
recursive = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|