Add emacs yaml mode.

This commit is contained in:
Kevin Baensch 2023-04-15 13:17:48 +02:00
parent ef7eb5f9e4
commit 6aa2a023d4
Signed by: derped
GPG key ID: C0F1D326C7626543
2 changed files with 12 additions and 0 deletions

View file

@ -40,6 +40,7 @@ with lib;
"emacs::org" "emacs::org"
"emacs::transmission" "emacs::transmission"
"emacs::web-mode" "emacs::web-mode"
"emacs::yaml-mode"
"emacs::yasnippet" "emacs::yasnippet"
"extra" "extra"
"haskell" "haskell"

View file

@ -0,0 +1,11 @@
{ config, lib, pkgs, ... }:
with lib;
mkIf (elem "emacs::yaml-mode" config.machine.pkgs) {
programs.emacs.init.usePackage = {
yaml-mode = {
enable = true;
};
};
}