nixos/pkgsets/emacs/yuck-mode.nix

12 lines
207 B
Nix

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