1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00
This commit is contained in:
Vladimir Kravets 2025-03-25 03:42:10 +05:00 committed by GitHub
commit 771a5401d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ let
cfg = config.services.sketchybar;
configFile = pkgs.writeScript "sketchybarrc" cfg.config;
configFile = (if types.path.check cfg.config then cfg.config else (pkgs.writeScript "sketchybarrc" cfg.config));
in
{
@ -29,7 +29,7 @@ in
};
config = mkOption {
type = types.lines;
type = types.either types.path types.lines;
default = "";
example = ''
sketchybar --bar height=24