modules(editors) : Add emacs

This commit is contained in:
Florian RICHER 2024-05-28 20:46:24 +02:00
parent 5766455c95
commit 4ebb3aaed1
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
7 changed files with 814 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.modules.home.editors.emacs;
in
{
options.modules.home.editors.emacs = {
enable = mkEnableOption ''
Enable emacs with my custom configurations
'';
};
config = mkIf cfg.enable {
programs.doom-emacs = {
enable = true;
doomPrivateDir = ./doom.d;
};
};
}