nixos-config/home-manager/modules/emacs/default.nix
2022-03-18 21:14:51 +01:00

31 lines
622 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;
# };
home.packages = with pkgs; [
(texlive.combine {
inherit (texlive) scheme-small wrapfig ulem capt-of;
})
];
};
}