wip: feat: Emacs config (from scratch }:3)

Working:
  - The daemon
  - Mutable config — well, kinda. I'm not yet sure how it will interact with
    `emacsWithPackagesFromUsePackage`.
  - Packages via Nixpkgs
This commit is contained in:
Madeleine Sydney
2025-01-03 17:06:49 -07:00
parent c3cecf6a1c
commit b23492e42b
4 changed files with 88 additions and 1 deletions

View File

@@ -97,7 +97,24 @@ sydnix-cli is a command-line utility written in Clojure wrapping various sydnix-
* Tasks
** Emacs
** Begin setting up doomless Emacs
*** DONE Daemon
CLOSED: [2025-01-03 Fri 20:00]
*** DONE Mutable config
CLOSED: [2025-01-03 Fri 20:01]
Path is currently hardcoded to =/persist/dots/users/crumb/programs/emacs=. An immutable file (created by home-manager's =programs.emacs.extraConfig=) loads =init.el= from the hardcoded path.
*** DONE Packages via Nixpkgs
CLOSED: [2025-01-03 Fri 20:40]
*** TODO =map!= macro
*** TODO Module system?
** Emacs config
*** [#A] One-off environment changes without direnv
@@ -329,6 +346,10 @@ https://discourse.nixos.org/t/what-to-do-with-a-full-boot-partition/2049
Remove a given host from =~/.ssh/known_hosts=. Something like =sed -i -e '/192.168.122.54/d' .ssh/known_hosts=.
*** TODO =lets-temp [NAME]=
Create a new tempdir called ~[NAME]~, and cd into it.
* References
Following is a subset of the many places I've learnt from.
@@ -341,3 +362,5 @@ Following is a subset of the many places I've learnt from.
- [cite:@christensen2020erase]
- [cite:@ayats2024dropping]
- [cite:@zaynetdinov2024you]
- [[https://prelude.emacsredux.com/en/stable/][Emacs Prelude]]
- [[https://github.com/doomemacs/doomemacs][Doom Emacs]]