mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-31 04:04:45 +00:00
Merge 918501596b
into ebb88c3428
This commit is contained in:
commit
771a5401d0
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue