diff options
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 | } | ||
