flake: refactor

trying again
This commit is contained in:
Artur Manuel 2024-07-20 22:34:32 +01:00
commit 84e466bbef
Failed to generate hash of commit
5 changed files with 4 additions and 5 deletions

39
package/default.nix Normal file
View file

@ -0,0 +1,39 @@
{ emacsWithPackagesFromUsePackage, emacs29-pgtk }:
emacsWithPackagesFromUsePackage {
package = emacs29-pgtk;
config = ./config.org;
defaultInitFile = true;
alwaysEnsure = true;
alwaysTangle = true;
extraEmacsPackages =
e: with e; [
treesit-grammars.with-all-grammars
nix-ts-mode
doom-themes
vertico
orderless
marginalia
embark
consult
embark-consult
consult-dir
doom-modeline
nerd-icons
flycheck
which-key
lsp-mode
lsp-ui
treemacs
lsp-treemacs
consult-lsp
treemacs-icons-dired
treemacs-nerd-icons
nerd-icons
all-the-icons
projectile
treemacs-projectile
magit
treemacs-magit
];
override = _: prev: { use-package = prev.emacs; };
}