diff options
| -rw-r--r-- | home.nix | 65 |
1 files changed, 63 insertions, 2 deletions
| @@ -138,7 +138,7 @@ in | |||
| 138 | ]; | 138 | ]; |
| 139 | 139 | ||
| 140 | sessionVariables = { | 140 | sessionVariables = { |
| 141 | EDITOR = "emacsclient -r"; | 141 | EDITOR = "emacsclient -c"; |
| 142 | VISUAL = "emacsclient -t"; | 142 | VISUAL = "emacsclient -t"; |
| 143 | PAGER = "less"; | 143 | PAGER = "less"; |
| 144 | LESS = "-iR"; | 144 | LESS = "-iR"; |
| @@ -311,7 +311,68 @@ in | |||
| 311 | programs = { | 311 | programs = { |
| 312 | home-manager.enable = true; | 312 | home-manager.enable = true; |
| 313 | 313 | ||
| 314 | emacs.enable = true; | 314 | emacs = { |
| 315 | enable = true; | ||
| 316 | extraPackages = | ||
| 317 | epkgs: with epkgs; [ | ||
| 318 | # profile startup of init.el | ||
| 319 | esup | ||
| 320 | |||
| 321 | # the theme I use | ||
| 322 | kaolin-themes | ||
| 323 | |||
| 324 | # fuzzy searching | ||
| 325 | orderless | ||
| 326 | # better vertical completion | ||
| 327 | vertico | ||
| 328 | |||
| 329 | # easy to identify scopes | ||
| 330 | rainbow-delimiters | ||
| 331 | # short descriptions of commands | ||
| 332 | marginalia | ||
| 333 | # like a collection of autocomplete commands | ||
| 334 | consult | ||
| 335 | # saves pressing C-x u a lot (before I found C-/) | ||
| 336 | undo-tree | ||
| 337 | |||
| 338 | # highlights TODO/BUG/FIXME/etc. keywords | ||
| 339 | hl-todo | ||
| 340 | # very good git | ||
| 341 | magit | ||
| 342 | magit-todos | ||
| 343 | |||
| 344 | # better latex mode | ||
| 345 | auctex | ||
| 346 | # better pdf viewer | ||
| 347 | pdf-tools | ||
| 348 | |||
| 349 | # I love org-mode | ||
| 350 | org | ||
| 351 | org-pdftools | ||
| 352 | org-present | ||
| 353 | org-roam | ||
| 354 | |||
| 355 | # rss reader | ||
| 356 | elfeed | ||
| 357 | # email reader | ||
| 358 | notmuch | ||
| 359 | # better llm frontend | ||
| 360 | gptel | ||
| 361 | |||
| 362 | # nix stuff | ||
| 363 | nix-mode | ||
| 364 | # ocaml formatting on save | ||
| 365 | ocamlformat | ||
| 366 | # rust stuff | ||
| 367 | rust-mode | ||
| 368 | |||
| 369 | # better terminal emulation | ||
| 370 | eat | ||
| 371 | |||
| 372 | # project tree templates | ||
| 373 | skeletor | ||
| 374 | ]; | ||
| 375 | }; | ||
| 315 | 376 | ||
| 316 | git = { | 377 | git = { |
| 317 | enable = true; | 378 | enable = true; |
