This commit is contained in:
Charlotte Van Petegem 2021-02-22 15:13:10 +01:00
parent de2a797e0d
commit 38388f551c
No known key found for this signature in database
GPG key ID: 019E764B7184435A
4 changed files with 18 additions and 0 deletions

View file

@ -22,6 +22,7 @@
./tmux.nix
./zeroad.nix
./zfs.nix
./zotero.nix
./zsh.nix
];

15
modules/zotero.nix Normal file
View file

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