nixos/pkgsets/emacs/yasnippet.nix
derped ad76922338
Move pkgsets folder into project root to conform with option naming.
Add simple package filter to auto remove broken packages.
2020-03-27 13:41:24 +01:00

18 lines
322 B
Nix

{ config, lib, pkgs, ... }:
with lib;
mkIf (elem "emacs::yasnippet" config.machine.pkgs) {
programs.emacs.init.usePackage = {
yasnippet = {
enable = true;
hook = [ "(after-init . yas-global-mode)" ];
# config = ''
# '';
};
yasnippet-snippets = {
enable = true;
};
};
}