nixos-config/modules/work/zotero/default.nix
Charlotte Van Petegem 0fc6c32a47
Reorganize repository
2021-07-10 09:03:38 +02:00

15 lines
351 B
Nix

{ config, lib, pkgs, ... }:
{
options.chvp.work.zotero.enable = lib.mkOption {
default = false;
example = true;
};
config = lib.mkIf config.chvp.work.zotero.enable {
chvp.base.zfs.homeLinks = [{ path = ".zotero"; type = "data"; }];
home-manager.users.charlotte = { ... }: {
home.packages = [ pkgs.zotero ];
};
};
}