feat(notetaking): anki integration
This commit is contained in:
parent
d9babbd49a
commit
f6ec07f646
4 changed files with 131 additions and 44 deletions
|
|
@ -19,6 +19,32 @@
|
|||
|
||||
plugins = with pkgs.emacsPackages; [
|
||||
];
|
||||
|
||||
emacsDependencies = with pkgs; [
|
||||
hunspell
|
||||
hunspellDicts.nl_NL
|
||||
hunspellDicts.en_GB-large
|
||||
ghostscript
|
||||
graphviz
|
||||
imagemagickBig
|
||||
poppler-utils
|
||||
ripgrep
|
||||
|
||||
wl-clipboard
|
||||
|
||||
# Any less than medium isn't guaranteed to work
|
||||
(texlive.withPackages (ps: with ps; [
|
||||
scheme-medium
|
||||
latexmk
|
||||
# File '*.sty' not found
|
||||
capt-of
|
||||
preview
|
||||
standalone
|
||||
wrapfig
|
||||
]))
|
||||
# required by +jupyter
|
||||
(python314.withPackages (ps: with ps; [ jupyter ]))
|
||||
];
|
||||
in {
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = [
|
||||
|
|
@ -28,38 +54,27 @@
|
|||
|
||||
package = pkgs.emacs; # pkgs.emacs-git
|
||||
extraEmacsPackages = epkgs: [
|
||||
epkgs.unicode-fonts
|
||||
epkgs.pdf-tools
|
||||
epkgs.org-anki
|
||||
epkgs.org-pdftools
|
||||
epkgs.pdf-tools
|
||||
epkgs.unicode-fonts
|
||||
|
||||
pkgs.shellcheck
|
||||
];
|
||||
})
|
||||
|
||||
pkgs.hunspell
|
||||
pkgs.hunspellDicts.nl_NL
|
||||
pkgs.hunspellDicts.en_GB-large
|
||||
pkgs.ghostscript
|
||||
pkgs.graphviz
|
||||
pkgs.imagemagickBig
|
||||
pkgs.poppler-utils
|
||||
pkgs.ripgrep
|
||||
(pkgs.anki.withAddons [
|
||||
#(pkgs.ankiAddons.passfail2.withConfig {
|
||||
# config = {
|
||||
# again_button_name = "Incorrect";
|
||||
# good_button_name = "Correct";
|
||||
# };
|
||||
#})
|
||||
|
||||
pkgs.wl-clipboard
|
||||
|
||||
# Any less than medium isn't guaranteed to work
|
||||
(pkgs.texlive.withPackages (ps: with ps; [
|
||||
scheme-medium
|
||||
latexmk
|
||||
# File '*.sty' not found
|
||||
capt-of
|
||||
preview
|
||||
standalone
|
||||
wrapfig
|
||||
]))
|
||||
# required by +jupyter
|
||||
(pkgs.python314.withPackages (ps: with ps; [ jupyter ]))
|
||||
];
|
||||
pkgs.ankiAddons.anki-connect
|
||||
pkgs.pandoc
|
||||
])
|
||||
] ++ emacsDependencies;
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue