diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-11 22:14:43 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-11 22:14:43 -0400 |
| commit | d2b62c9d6f30a0ea88b2a235cde120cd10ba332b (patch) | |
| tree | f373003e64c3ec4593d7ae4ffac72de52767aa70 /users/ryan/modules/sketchybar/default.nix | |
| parent | 27117202739f092d837af2752e4b9801c47b8ddb (diff) | |
Sketchybar now, got tired of the battery issue
Diffstat (limited to 'users/ryan/modules/sketchybar/default.nix')
| -rw-r--r-- | users/ryan/modules/sketchybar/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/users/ryan/modules/sketchybar/default.nix b/users/ryan/modules/sketchybar/default.nix new file mode 100644 index 0000000..8179f18 --- /dev/null +++ b/users/ryan/modules/sketchybar/default.nix | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | { config, lib, pkgs, ... }: | ||
| 2 | |||
| 3 | with lib; | ||
| 4 | |||
| 5 | let | ||
| 6 | cfg = config.ryan.sketchybar; | ||
| 7 | in | ||
| 8 | { | ||
| 9 | options.ryan.sketchybar.enable = mkEnableOption "sketchybar"; | ||
| 10 | |||
| 11 | config = mkIf cfg.enable { | ||
| 12 | # Enable the service | ||
| 13 | programs.sketchybar = { | ||
| 14 | enable = true; | ||
| 15 | extraPackages = [ pkgs.jq ]; | ||
| 16 | config = { source = ./bar-config; recursive = true; }; | ||
| 17 | }; | ||
| 18 | }; | ||
| 19 | } | ||
