nixos/pkgsets/emacs/yaml-mode.nix

15 lines
203 B
Nix
Raw Normal View History

2023-09-11 20:23:04 +02:00
{
config,
lib,
pkgs,
...
}:
2023-04-15 13:17:48 +02:00
with lib;
2023-09-11 20:23:04 +02:00
mkIf (elem "emacs::yaml-mode" config.machine.pkgs) {
programs.emacs.init.usePackage = {
yaml-mode = {
enable = true;
};
2023-04-15 13:17:48 +02:00
};
2023-09-11 20:23:04 +02:00
}