diff --git a/darwin/sketchybar.nix b/darwin/sketchybar.nix deleted file mode 100644 index 6eed533..0000000 --- a/darwin/sketchybar.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ - inputs, - pkgs, - ... -}: -{ - - home.packages = with pkgs; [ - sketchybar-app-font - # menubar-cli # (needs to come from an overlay, check https://github.com/Kcraft059/Nix-Config/blob/master/overlays/menubar-cli.nix for implementation - bin by @FelixKratz) - ]; - - programs.sketchybar = { - enable = true; - service = rec { - enable = true; - errorLogFile = "/tmp/sketchybar.log"; - outLogFile = errorLogFile; - }; - configType = "bash"; - config = { - source = "${inputs.sketchybar-config}"; # flake input path - recursive = true; # copy entire tree - }; - extraPackages = with pkgs; [ - # menubar-cli # see above - imagemagick - macmon - ]; - }; - - # Example of providing dynamic icon map or other generated files - xdg.configFile = { - "sketchybar/dyn-icon_map.sh".source = "${pkgs.sketchybar-app-font}/bin/icon_map.sh"; - - # Optional: inline user overrides without forking - # "sketchybar/config.sh".text = '' - # NOTCH_WIDTH=200 - # MUSIC_INFO_WIDTH=100 - # ''; - }; - -} diff --git a/darwin/yabari.nix b/darwin/yabari.nix index 4d78afc..d75a295 100644 --- a/darwin/yabari.nix +++ b/darwin/yabari.nix @@ -67,4 +67,8 @@ ctrl - q : open -a kitty --args --directory="~" ''; }; + + services.sketchybar = { + enable = true; + }; }