diff options
| author | beeb5k <beebeeb5k@gmail.com> | 2026-06-02 00:06:57 +0530 |
|---|---|---|
| committer | beeb5k <beebeeb5k@gmail.com> | 2026-06-02 00:06:57 +0530 |
| commit | 2519d3fc4f3df771fc90f356064ec6ca4a17203a (patch) | |
| tree | 2f12ea61429cd2e277dcdcebba857ccf96a8087d /common/modules/emacs/default.nix | |
| parent | dfc891bcf1a87d09cc656d098e4f25b9a5134ac5 (diff) | |
update was needed
Diffstat (limited to 'common/modules/emacs/default.nix')
| -rw-r--r-- | common/modules/emacs/default.nix | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/common/modules/emacs/default.nix b/common/modules/emacs/default.nix deleted file mode 100644 index 4566f57..0000000 --- a/common/modules/emacs/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ - homeManager, - inputs, - moduleNameSpace, - ... -}: -{ - pkgs, - config, - lib, - ... -}: -let - cfg = config.${moduleNameSpace}.emacs; -in -{ - imports = lib.optionals homeManager [ - inputs.nix-doom-emacs-unstraightened.homeModule - ]; - - options.${moduleNameSpace}.emacs = { - enable = lib.mkEnableOption "Enable emacs"; - }; - - config = lib.mkIf cfg.enable ( - lib.optionalAttrs homeManager { - programs.doom-emacs = { - enable = true; - doomDir = ./doom; # or e.g. `./doom.d` for a local configuration - }; - } - ); -} |
