Vanilla Emacs
This commit is contained in:
parent
b89e750e4b
commit
a0314c11a0
2 changed files with 64 additions and 1 deletions
61
hmModules/vanilla-emacs/default.nix
Normal file
61
hmModules/vanilla-emacs/default.nix
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
# use same version as Doom Emacs
|
||||||
|
vanillaEmacs = (pkgs.emacsPackagesFor config.programs.doom-emacs.emacsPackage).emacsWithPackages (epkgs:
|
||||||
|
with epkgs; [
|
||||||
|
meow
|
||||||
|
ef-themes
|
||||||
|
vertico
|
||||||
|
marginalia
|
||||||
|
consult
|
||||||
|
orderless
|
||||||
|
embark
|
||||||
|
embark-consult
|
||||||
|
fira-code-mode
|
||||||
|
vterm
|
||||||
|
setup
|
||||||
|
magit
|
||||||
|
magit-delta
|
||||||
|
# git-gutter
|
||||||
|
# git-gutter-fringe
|
||||||
|
corfu
|
||||||
|
corfu-terminal
|
||||||
|
cape
|
||||||
|
which-key
|
||||||
|
nix-mode
|
||||||
|
envrc
|
||||||
|
flycheck
|
||||||
|
flycheck-posframe
|
||||||
|
flycheck-inline
|
||||||
|
consult-flycheck
|
||||||
|
popper
|
||||||
|
# choose one
|
||||||
|
lispy
|
||||||
|
paredit
|
||||||
|
tree-sitter
|
||||||
|
tree-sitter-langs
|
||||||
|
yaml-mode
|
||||||
|
hl-todo
|
||||||
|
]);
|
||||||
|
vanillaEmacsBin = pkgs.writeScriptBin "vanillaEmacs" ''
|
||||||
|
${vanillaEmacs}/bin/emacs --init-directory ~/.vanilla-emacs.d $@
|
||||||
|
'';
|
||||||
|
in {
|
||||||
|
home.packages = [
|
||||||
|
vanillaEmacsBin
|
||||||
|
|
||||||
|
(
|
||||||
|
pkgs.makeDesktopItem {
|
||||||
|
name = "vanilla-emacs";
|
||||||
|
exec = "vanillaEmacs %u";
|
||||||
|
comment = "Vanilla Emacs";
|
||||||
|
desktopName = "vanilla-emacs";
|
||||||
|
type = "Application";
|
||||||
|
mimeTypes = [];
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
|
}
|
|
@ -35,12 +35,12 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
autologin = true;
|
autologin = true;
|
||||||
modules = [
|
modules = [
|
||||||
"chrome"
|
|
||||||
"cura"
|
"cura"
|
||||||
"digikam"
|
"digikam"
|
||||||
"discord"
|
"discord"
|
||||||
"element"
|
"element"
|
||||||
"emacs"
|
"emacs"
|
||||||
|
"vanilla-emacs"
|
||||||
"email"
|
"email"
|
||||||
"firefox"
|
"firefox"
|
||||||
"git"
|
"git"
|
||||||
|
@ -48,6 +48,7 @@
|
||||||
"helix"
|
"helix"
|
||||||
"mopidy"
|
"mopidy"
|
||||||
"mpv"
|
"mpv"
|
||||||
|
"openscad"
|
||||||
"password-store"
|
"password-store"
|
||||||
"qutebrowser"
|
"qutebrowser"
|
||||||
"shell"
|
"shell"
|
||||||
|
@ -57,6 +58,7 @@
|
||||||
"vscode"
|
"vscode"
|
||||||
"xdg"
|
"xdg"
|
||||||
"zathura"
|
"zathura"
|
||||||
|
"chrome"
|
||||||
];
|
];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
comma
|
comma
|
||||||
|
|
Loading…
Add table
Reference in a new issue