aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/waybar/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/waybar/default.nix')
-rw-r--r--modules/desktop/waybar/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/desktop/waybar/default.nix b/modules/desktop/waybar/default.nix
index 9872086..927d76f 100644
--- a/modules/desktop/waybar/default.nix
+++ b/modules/desktop/waybar/default.nix
@@ -5,6 +5,15 @@
...
}:
{
+ options.desktop.waybar = {
+ package = lib.mkOption {
+ type = lib.types.package;
+ readOnly = true;
+ default = config.programs.waybar.package;
+ description = "The waybar package to use.";
+ };
+ };
+
config = lib.mkIf config.desktop.enable {
programs.waybar = {
enable = true;