summaryrefslogtreecommitdiff
path: root/modules/waybar/options.nix
diff options
context:
space:
mode:
authorFabian Montero <fabian@posixlycorrect.com>2025-10-07 15:13:17 -0600
committerFabian Montero <fabian@posixlycorrect.com>2025-10-07 15:13:17 -0600
commitd7059ab8888ca605bc6a1f5822a070ef8c33b4a4 (patch)
treec16997b631efa0666e9530187abe931e03df2137 /modules/waybar/options.nix
parent39d71b5e72c432cdb15d69ce50698ef77a6dc772 (diff)
waybar: add waybar module
Diffstat (limited to 'modules/waybar/options.nix')
-rw-r--r--modules/waybar/options.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/waybar/options.nix b/modules/waybar/options.nix
new file mode 100644
index 0000000..b2daa33
--- /dev/null
+++ b/modules/waybar/options.nix
@@ -0,0 +1,23 @@
+{lib, ...}:
+with lib.types; {
+ hm = {
+ battery = lib.mkOption {
+ type = bool;
+ default = false;
+ description = ''
+ `true` to display battery info
+ '';
+ };
+ fontFamily = lib.mkOption {
+ type = str;
+ example = "JetBrainsMono Nerd Font";
+ description = ''
+ needs to be a nerdfont
+ '';
+ };
+ fontSize = lib.mkOption {
+ type = str;
+ default = "12px";
+ };
+ };
+}