Files
Nixos/modules/system/darwin/casks/zed.nix
T

22 lines
341 B
Nix

{ lib, config, ... }:
with lib;
let
cfg = config.os.homebrew.zed;
in
{
options.os.homebrew.zed = {
enable = mkEnableOption "System zed homebrew service";
};
config = mkIf cfg.enable {
homebrew.casks = [
"zed"
];
system.defaults.dock.persistent-apps = [
{ app = "/Applications/Zed.app"; }
];
};
}