nixos/pkgsets/emacs/yasnippet.nix

22 lines
352 B
Nix
Raw Normal View History

2023-09-11 20:23:04 +02:00
{
config,
lib,
pkgs,
...
}:
with lib;
2023-09-11 20:23:04 +02:00
mkIf (elem "emacs::yasnippet" config.machine.pkgs) {
programs.emacs.init.usePackage = {
yasnippet = {
enable = true;
hook = ["(after-init . yas-global-mode)"];
# config = ''
2023-09-11 20:23:04 +02:00
# '';
};
yasnippet-snippets = {
enable = true;
};
};
2023-09-11 20:23:04 +02:00
}