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

View file

@ -18,59 +18,23 @@ in
package = emacs; package = emacs;
defaultInitFile = true; defaultInitFile = true;
alwaysEnsure = true; alwaysEnsure = true;
alwaysTangle = true; config = ./config.el;
config = ./config.org;
extraEmacsPackages = extraEmacsPackages =
e: e:
builtins.attrValues { builtins.attrValues {
inherit (e) 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 spacious-padding
mood-line nano-modeline
ement orderless
autothemer corfu
geiser-guile which-key
lsp-haskell marginalia
catppuccin-theme vertico
zig-mode 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; }; override = _: prev: { use-package = prev.emacs; };
}; };