feat(homeModules/desktop): add status-bar
This commit is contained in:
parent
8b963e205e
commit
a318f13bd0
4 changed files with 19 additions and 0 deletions
16
modules/home/desktop/status-bar/default.nix
Normal file
16
modules/home/desktop/status-bar/default.nix
Normal 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;
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue