Working on Emacs
- now my custom Emacs package lives inside `pkgs/` - small org-mode updates - added custom Emacs commands to rebuild NixOS
This commit is contained in:
parent
ce354185e8
commit
54a41ac797
6 changed files with 73 additions and 51 deletions
|
@ -1,5 +1,6 @@
|
|||
final: prev: {
|
||||
# keep sources this first
|
||||
sources = prev.callPackage (import ./_sources/generated.nix) {};
|
||||
customEmacs = prev.callPackage (import ./emacs) {};
|
||||
# then, call packages with `final.callPackage`
|
||||
}
|
||||
|
|
38
pkgs/emacs/default.nix
Normal file
38
pkgs/emacs/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
myEmacs = pkgs.emacsPgtkGcc;
|
||||
emacsWithPackages = (pkgs.emacsPackagesFor myEmacs).emacsWithPackages;
|
||||
in
|
||||
emacsWithPackages (
|
||||
epkgs: (
|
||||
with epkgs.melpaStablePackages; []
|
||||
) ++ (
|
||||
with epkgs.melpaPackages; [
|
||||
all-the-icons
|
||||
use-package
|
||||
evil
|
||||
evil-collection
|
||||
helm
|
||||
projectile
|
||||
magit
|
||||
fira-code-mode
|
||||
org-superstar
|
||||
nix-mode
|
||||
lispy
|
||||
lsp-mode
|
||||
dap-mode
|
||||
which-key
|
||||
sudo-utils
|
||||
treemacs
|
||||
treemacs-evil
|
||||
treemacs-projectile
|
||||
treemacs-icons-dired
|
||||
treemacs-magit
|
||||
treemacs-persp
|
||||
]
|
||||
) ++ (
|
||||
with epkgs.elpaPackages; [
|
||||
modus-themes
|
||||
]
|
||||
) ++ []
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue