-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(zotero): add zotero home-manager module
Zotero is based on Firefox and offers a rich selection of add-ons. Providing add-ons was a manual process, and it was not possible to share settings. Created a Zotero module, inspired by `home-manager`'s `programs.firefox` module, that allows for declarative configuration and addon management.
- Loading branch information
1 parent
eea3eb8
commit 633834b
Showing
8 changed files
with
286 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,5 @@ | |
./spicetify.nix | ||
./vivaldi.nix | ||
./zathura.nix | ||
./zotero.nix | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ pkgs, user, ... }: | ||
{ | ||
programs.zotero = { | ||
enable = true; | ||
profiles."${user}" = { | ||
settings = { | ||
"extensions.zotero.ZoteroPDFTranslate.dictSource" = "webliodict"; | ||
"extensions.zotero.ZoteroPDFTranslate.targetLanguage" = "ja"; | ||
"extensions.zotero.ZoteroPDFTranslate.translateSource" = "googleapi"; | ||
}; | ||
extensions = with pkgs.zotero-addons; [ | ||
zotero-better-bibtex | ||
zotero-night | ||
zotero-pdf-translate | ||
zotero-zotfile | ||
]; | ||
}; | ||
}; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.