nixos/pkgsets/emacs/yuck-mode.nix

13 lines
207 B
Nix
Raw Normal View History

{
config,
lib,
...
}:
with lib;
mkIf (elem "emacs::yuck-mode" config.machine.pkgs) {
programs.emacs.init.usePackage.yuck-mode = {
enable = true;
mode = [''"\\.yuck\\'"''];
};
}