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

22 lines
356 B
Nix

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