phase 2: move home-manager/ → home/{profiles,progs,util,wallpaper}
This commit is contained in:
43
home/progs/emacs.nix
Normal file
43
home/progs/emacs.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
inputs.nix-doom-emacs-unstraightened.homeModule
|
||||
(
|
||||
{ ... }:
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
inputs.nix-doom-emacs-unstraightened.overlays.default
|
||||
inputs.emacs-overlay.overlays.default
|
||||
];
|
||||
}
|
||||
)
|
||||
|
||||
];
|
||||
|
||||
programs.doom-emacs = {
|
||||
enable = true;
|
||||
doomDir = ./doom.d;
|
||||
emacs = pkgs.emacs-unstable-pgtk;
|
||||
extraPackages =
|
||||
epkgs:
|
||||
with epkgs;
|
||||
[
|
||||
dracula-theme
|
||||
treesit-grammars.with-all-grammars
|
||||
]
|
||||
++ (with pkgs; [
|
||||
shellcheck
|
||||
shfmt
|
||||
|
||||
# for file search
|
||||
fd
|
||||
|
||||
pandoc
|
||||
]);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user