feat: out with the org, in with the el

This commit is contained in:
Artur Manuel 2024-10-04 21:44:24 +01:00
commit 2aa6d7eacd
2 changed files with 15 additions and 55 deletions

View file

@ -24,11 +24,6 @@
:hook ((prog-mode . display-line-numbers-mode)
(text-mode . display-line-numbers-mode)))
(use-package dracula-theme
:ensure t
:config
(load-theme 'dracula t))
(use-package spacious-padding
:ensure t
:init
@ -178,8 +173,9 @@
("C-x C-d" . consult-dir)
("C-x C-j" . consult-dir-jump-file)))
(use-package package
:init
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t))
(use-package base16-theme
:ensure t
:config
(load-theme 'base16-oxocarbon-dark t))
(provide 'config)

View file

@ -18,59 +18,23 @@ in
package = emacs;
defaultInitFile = true;
alwaysEnsure = true;
alwaysTangle = true;
config = ./config.org;
config = ./config.el;
extraEmacsPackages =
e:
builtins.attrValues {
inherit (e)
nix-mode
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
spacious-padding
mood-line
ement
autothemer
geiser-guile
lsp-haskell
catppuccin-theme
zig-mode
nano-modeline
orderless
corfu
which-key
marginalia
vertico
consult
embark
embark-consult
base16-theme
;
treesit-grammars = e.treesit-grammars.with-all-grammars;
inherit (pkgs) python3;
# oxocarbon-theme = mkEmacsPackage e "oxocarbon-theme" "0.1.0" (pkgs.fetchurl {
# url = "https://raw.githubusercontent.com/konrad1977/emacs/main/themes/oxocarbon-theme.el";
# hash = "sha256-jD4DYc7aePuAF3m323YAi7jzE6ZpsSWb/zdmEgjFCns=";
# }) [ e.autothemer ];
};
override = _: prev: { use-package = prev.emacs; };
};