34 lines
975 B
Nix
34 lines
975 B
Nix
|
{ pkgs, config, ... }:
|
||
|
let
|
||
|
user = config.home.username;
|
||
|
in
|
||
|
{
|
||
|
home.packages = [
|
||
|
pkgs.zotero
|
||
|
];
|
||
|
|
||
|
home.file.".zotero/zotero/profiles.ini".text = ''
|
||
|
[General]
|
||
|
StartWithLastProfile=1
|
||
|
|
||
|
[Profile0]
|
||
|
Name=default
|
||
|
IsRelative=1
|
||
|
Path=zprofile.default
|
||
|
Default=1
|
||
|
'';
|
||
|
|
||
|
home.file.".zotero/zotero/zprofile.default/user.js".text = ''
|
||
|
user_pref("extensions.zotero.dataDir", "/home/${user}/.local/share/Zotero");
|
||
|
user_pref("extensions.zotero.firstRun.skipFirefoxProfileAccessCheck", true);
|
||
|
user_pref("extensions.zotero.firstRun2", false);
|
||
|
user_pref("extensions.zotero.useDataDir", true);
|
||
|
user_pref("intl.accept_languages", "en-GB, en");
|
||
|
user_pref("extensions.zotero.sync.server.username", "samual.shop@proton.me");
|
||
|
user_pref("extensions.zotero.sync.fulltext.enabled", false);
|
||
|
user_pref("extensions.zotero.sync.storage.enabled", false);
|
||
|
user_pref("extensions.zotero.sync.storage.groups.enabled", false);
|
||
|
'';
|
||
|
|
||
|
}
|