Emacs: add docker and dockerfile mode.
This commit is contained in:
parent
5450838272
commit
d2e8d17a21
2 changed files with 29 additions and 0 deletions
20
pkgsets/emacs/docker.nix
Normal file
20
pkgsets/emacs/docker.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
9
pkgsets/emacs/dockerfile.nix
Normal file
9
pkgsets/emacs/dockerfile.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
mkIf (elem "emacs::dockerfile" config.machine.pkgs) {
|
||||
programs.emacs.init.usePackage.dockerfile-mode = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue