Doom <3 Nix
This commit is contained in:
parent
388c9fd6fb
commit
b4eb86c285
3 changed files with 43 additions and 26 deletions
12
doom/init.el
12
doom/init.el
|
@ -81,13 +81,13 @@
|
|||
|
||||
:checkers
|
||||
syntax ; tasing you for every semicolon you forget
|
||||
;;(spell +flyspell) ; tasing you for misspelling mispelling
|
||||
(spell +flyspell) ; tasing you for misspelling mispelling
|
||||
;;grammar ; tasing grammar mistake every you make
|
||||
|
||||
:tools
|
||||
;;ansible
|
||||
;;biblio ; Writes a PhD for you (citation needed)
|
||||
(debugger +lsp) ; FIXME stepping through code, to help you add bugs
|
||||
debugger ; FIXME stepping through code, to help you add bugs
|
||||
;;direnv
|
||||
docker
|
||||
;;editorconfig ; let someone else argue about tabs vs spaces
|
||||
|
@ -95,7 +95,7 @@
|
|||
(eval +overlay) ; run code, run (also, repls)
|
||||
;;gist ; interacting with github gists
|
||||
lookup ; navigate your code and its documentation
|
||||
(lsp +peek) ; M-x vscode
|
||||
(lsp +eglot) ; M-x vscode
|
||||
magit ; a git porcelain for Emacs
|
||||
make ; run make tasks from Emacs
|
||||
pass ; password manager for nerds
|
||||
|
@ -151,7 +151,7 @@
|
|||
(lua +lsp +fennel) ; one-based indices? one-based indices
|
||||
markdown ; writing docs for people to ignore
|
||||
;;nim ; python + lisp at the speed of c
|
||||
;;nix ; I hereby declare "nix geht mehr!"
|
||||
(nix +lsp) ; I hereby declare "nix geht mehr!"
|
||||
;;ocaml ; an objective camel
|
||||
(org
|
||||
+journal
|
||||
|
@ -173,13 +173,13 @@
|
|||
(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||
;;scala ; java, but good
|
||||
;;(scheme +guile) ; a fully conniving family of lisps
|
||||
(sh +fish) ; she sells {ba,z,fi}sh shells on the C xor
|
||||
(sh +lsp +fish) ; she sells {ba,z,fi}sh shells on the C xor
|
||||
;;sml
|
||||
;;solidity ; do you need a blockchain? No.
|
||||
;;swift ; who asked for emoji variables?
|
||||
;;terra ; Earth and Moon in alignment for performance.
|
||||
(web +lsp) ; the tubes
|
||||
yaml ; JSON, but readable
|
||||
(yaml +lsp) ; JSON, but readable
|
||||
;;zig ; C, but simpler
|
||||
|
||||
:email
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
|
||||
(package! prisma-mode :recipe (:host github :repo "pimeys/emacs-prisma-mode" :branch "main"))
|
||||
|
||||
(package! emacsql-sqlite :built-in 'prefer)
|
||||
(package! pdf-tools :built-in 'prefer)
|
||||
|
||||
;; To install a package directly from a remote git repo, you must specify a
|
||||
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
||||
;; https://github.com/radian-software/straight.el#the-recipe-format
|
||||
|
|
|
@ -17,18 +17,30 @@
|
|||
|
||||
# The home.packages option allows you to install Nix packages into your
|
||||
# environment.
|
||||
home.packages = [
|
||||
pkgs.ripgrep
|
||||
pkgs.fd
|
||||
pkgs.sd
|
||||
pkgs.bat
|
||||
pkgs.just
|
||||
pkgs.tokei
|
||||
home.packages = with pkgs; [
|
||||
ripgrep
|
||||
fd
|
||||
sd
|
||||
bat
|
||||
just
|
||||
tokei
|
||||
|
||||
pkgs.gopls
|
||||
pkgs.delve
|
||||
pkgs.gore
|
||||
pkgs.gotests
|
||||
# Golang tools
|
||||
go
|
||||
gopls
|
||||
delve
|
||||
gore
|
||||
gotests
|
||||
|
||||
# Shell tools
|
||||
shellcheck
|
||||
shfmt
|
||||
|
||||
# Python tools
|
||||
black
|
||||
ruff
|
||||
isort
|
||||
pipenv
|
||||
];
|
||||
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
|
@ -126,8 +138,10 @@
|
|||
enable = true;
|
||||
package = pkgs.emacs;
|
||||
|
||||
extraPackages = epkgs: [
|
||||
epkgs.vterm
|
||||
extraPackages = epkgs: with epkgs; [
|
||||
emacsql-sqlite
|
||||
pdf-tools
|
||||
vterm
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue