pankomacs/package/default.nix
Artur Manuel 80729d5693
revert: revert changes made by the previous commit
this is such a pain in the !@# and i cant be asked to make this work anymore, besides i can use flake templates.
2024-08-26 22:25:09 +01:00

51 lines
1.1 KiB
Nix

{ emacsWithPackagesFromUsePackage, emacs29-pgtk, python3 }:
let
emacs-linux = emacsWithPackagesFromUsePackage {
package = emacs29-pgtk;
config = ./config.org;
defaultInitFile = true;
alwaysEnsure = true;
alwaysTangle = true;
extraEmacsPackages =
e: (builtins.attrValues {
inherit (e)
nix-ts-mode
base16-theme
vertico
orderless
marginalia
embark
consult
embark-consult
consult-dir
doom-modeline
flycheck
which-key
lsp-mode
lsp-ui
lsp-pyright
treemacs
lsp-treemacs
consult-lsp
treemacs-icons-dired
treemacs-nerd-icons
nerd-icons
all-the-icons
projectile
treemacs-projectile
magit
treemacs-magit
rustic
haskell-mode
envrc
ccls
org-roam
;
}) ++ [
e.treesit-grammars.with-all-grammars
python3
];
override = _: prev: { use-package = prev.emacs; };
};
in
emacs-linux