nixos/pkgsets/emacs/yaml-mode.nix

12 lines
183 B
Nix
Raw Normal View History

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