feat(emacs): Add prebuilt Doom option using nix-doom-emacs-unstraightened #6
Reference in New Issue
Block a user
Delete Branch "feat/prebuilt-doom-usb-nixos-configs-1wd"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements pre-built Doom Emacs packages for the live USB image, eliminating the need to run
doom syncafter first boot.Problem
When booting into a live USB with Doom Emacs, the user must:
doom sync(which takes several minutes)This is time-consuming and requires connectivity, making it impractical for offline use or quick system recovery.
Solution
Integrate nix-doom-emacs-unstraightened which:
straight.elentirelyemacsWithPackagesto install packages from nixpkgs/emacs-overlaynix buildtimeChanges
New flake input
nix-doom-emacs-unstraightenedadded with empty nixpkgs follows (uses its own emacs-overlay)Updated
home/roles/emacs/default.nixprebuiltDoomoption (default:false)doom syncprograms.doom-emacsfrom nix-doom-emacs-unstraightenedUpdated
home/roles/emacs/doom/packages.elclaude-code-ide→760240d7f03ff16f90ede9d4f4243cd94f3fed73gptel-tool-library→baffc3b0d74a2b7cbda0d5cd6dd7726d6ccaca83beads→f40a6461d3c0fa0969311bbb6a1e30d1bba86c88Updated
home/home-live-usb.nixemacs.prebuiltDoom = trueUsage
For live USB (already enabled):
For regular systems (unchanged default):
Trade-offs
doom syncneeded, works offline, reproducibleBead: nixos-configs-1wd