2022-02-03 22:57:53 +01:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.eboskma.programs.emacs;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.eboskma.programs.emacs = { enable = mkEnableOption "activate emacs"; };
|
|
|
|
|
2022-02-09 08:13:16 +01:00
|
|
|
# imports = [ inputs.nix-doom-emacs.hmModule ];
|
|
|
|
|
2022-02-03 22:57:53 +01:00
|
|
|
config = mkIf (cfg.enable) {
|
|
|
|
programs.emacs = {
|
|
|
|
enable = true;
|
2022-02-09 08:13:16 +01:00
|
|
|
package = pkgs.emacsPgtkGcc;
|
2022-02-03 22:57:53 +01:00
|
|
|
};
|
2022-02-09 08:13:16 +01:00
|
|
|
# programs.doom-emacs = {
|
|
|
|
# enable = true;
|
|
|
|
# emacsPackage = pkgs.emacs-nox;
|
|
|
|
# doomPrivateDir = ./doom.d;
|
|
|
|
# };
|
2022-02-03 22:57:53 +01:00
|
|
|
};
|
|
|
|
}
|