From 322fc0cdcc029dec46af2411bf1bda4f77689691 Mon Sep 17 00:00:00 2001 From: 74k1 Date: Wed, 30 Apr 2025 20:06:29 +0200 Subject: [PATCH] feat(nix)!: standardize home-manager module options - reload ironbar on config change - update docs to reflect breaking change BREAKING CHANGE: `programs.ironbar.systemd` is not enabled by default anymore Co-authored-by: reo101 --- README.md | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7e913de..12f6b59 100644 --- a/README.md +++ b/README.md @@ -119,8 +119,35 @@ A flake is included with the repo which can be used with Home Manager. # And configure programs.ironbar = { enable = true; - config = {}; - style = ""; + systemd = true; + config = { + # An example: + monitors = { + DP-1 = { + anchor_to_edges = true; + position = "top"; + height = 16; + start = [ + { type = "clock"; } + ]; + end = [ + { + type = "tray"; + icon_size = 16; + } + ]; + }; + }; + }; + style = /* css */ '' + /* An example */ + * { + font-family: Noto Sans Nerd Font, sans-serif; + font-size: 16px; + border: none; + border-radius: 0; + } + ''; package = inputs.ironbar; features = ["feature" "another_feature"]; };