nixos-config/home-manager/modules/emacs/default.nix
2022-02-09 08:13:16 +01:00

22 lines
480 B
Nix

{ pkgs, config, lib, ... }:
with lib;
let
cfg = config.eboskma.programs.emacs;
in
{
options.eboskma.programs.emacs = { enable = mkEnableOption "activate emacs"; };
# imports = [ inputs.nix-doom-emacs.hmModule ];
config = mkIf (cfg.enable) {
programs.emacs = {
enable = true;
package = pkgs.emacsPgtkGcc;
};
# programs.doom-emacs = {
# enable = true;
# emacsPackage = pkgs.emacs-nox;
# doomPrivateDir = ./doom.d;
# };
};
}