diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-08-03 01:22:44 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-08-03 01:22:44 -0400 |
| commit | 0c8fa3a2a270747f3dbb54fe8792f3f0aec997e3 (patch) | |
| tree | 6f94ff3aeea2af859c7c166e01a8e73002017893 /users/ryan/modules/sketchybar/default.nix | |
Initial commit: combined darwin + guix-linux home-manager flake
Supersedes nix-dotfiles (darwin) and guix-dotfiles' ad-hoc
nix-home-manager flake (linux). See README.md/MIGRATION.md.
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..6d7c264 --- /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 = with pkgs; [ jq blueutil ]; | ||
| 16 | config = { source = ./bar-config; recursive = true; }; | ||
| 17 | }; | ||
| 18 | }; | ||
| 19 | } | ||
