feat(homeModules/desktop): add status-bar

This commit is contained in:
Mohammad Rafiq 2025-06-01 18:22:23 +08:00
parent 8b963e205e
commit a318f13bd0
No known key found for this signature in database
4 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{
config,
lib,
osConfig,
...
}:
{
config = lib.mkMerge [
(lib.mkIf (osConfig.desktop.status-bar == "waybar") {
home.sessionVariables.STATUS_BAR = "waybar";
programs.waybar = {
enable = true;
};
})
];
}