summaryrefslogtreecommitdiff
path: root/modules/waybar/options.nix
diff options
context:
space:
mode:
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";
+ };
+ };
+}