summaryrefslogtreecommitdiff
path: root/hm/env/waybar.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/env/waybar.nix')
-rw-r--r--hm/env/waybar.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/hm/env/waybar.nix b/hm/env/waybar.nix
new file mode 100644
index 0000000..84ccea9
--- /dev/null
+++ b/hm/env/waybar.nix
@@ -0,0 +1,13 @@
+{ config, lib, ... }:
+let
+ cfg = config.szpont.hm.env.waybar;
+in
+{
+ options.szpont.hm.env.waybar.enable = lib.mkEnableOption "enables waybar";
+
+ config = lib.mkIf cfg.enable {
+ programs.waybar = {
+ enable = true;
+ };
+ };
+}