nixos/pkgsets/emacs/nix-mode.nix
derped ad76922338
Move pkgsets folder into project root to conform with option naming.
Add simple package filter to auto remove broken packages.
2020-03-27 13:41:24 +01:00

10 lines
190 B
Nix

{ config, lib, ... }:
with lib;
mkIf (elem "emacs::nix-mode" config.machine.pkgs) {
programs.emacs.init.usePackage.nix-mode = {
enable = true;
mode = [ ''"\\.nix\\'"'' ];
};
}