module(doom): Use nix-doom-unstraight instead of emacs module
This commit is contained in:
parent
fa915b96f7
commit
d0581706fe
9 changed files with 374 additions and 5 deletions
32
home/modules/programs/doom/default.nix
Normal file
32
home/modules/programs/doom/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.youthlic.programs.doom;
|
||||
in {
|
||||
options = {
|
||||
youthlic.programs.doom = {
|
||||
enable = lib.mkEnableOption "doom";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.emacs.enable = true;
|
||||
programs.doom-emacs = {
|
||||
enable = true;
|
||||
emacs = pkgs.emacs-pgtk;
|
||||
extraPackages = emacsPackages:
|
||||
with emacsPackages; [
|
||||
];
|
||||
extraBinPackages = with pkgs; [
|
||||
editor-runtime
|
||||
|
||||
git
|
||||
ripgrep
|
||||
fd
|
||||
];
|
||||
doomDir = ./config;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue