2024-05-02 04:47:21 +03:00
|
|
|
{ pkgs, ... } @args: let
|
|
|
|
waybar = import ./waybar args;
|
|
|
|
in {
|
|
|
|
programs.waybar.enable = true;
|
2024-05-04 23:15:57 +03:00
|
|
|
|
|
|
|
environment.variables = {
|
|
|
|
WAYBAR_CONFIG = pkgs.writeText "waybarConfig" waybar.config;
|
|
|
|
WAYBAR_STYLE = pkgs.writeText "waybarStyle" waybar.style;
|
|
|
|
};
|
2024-05-02 04:47:21 +03:00
|
|
|
}
|