Emacs: add docker and dockerfile mode.

This commit is contained in:
Kevin Baensch 2023-06-15 11:06:54 +02:00
parent 5450838272
commit d2e8d17a21
Signed by: derped
GPG key ID: C0F1D326C7626543
2 changed files with 29 additions and 0 deletions

20
pkgsets/emacs/docker.nix Normal file
View file

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

View file

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