Files
sydnix/modules/home/users/crumb/emacs/early-init.el
Madeleine Sydney c48a93ad10 feat: Add host sydpc
My, this is a lot TwT.  Much work was batched as part of the transition from
guix-rebound to nixos-testbed/sydpc.

- Discord/Vesktop module & config.
- Syncthing setup.
- Assorted Emacs changes.
- Waybar config.
- Niri config.
- Steam config.
- Some MPD.
- Stylix config.
- Files/Impermanence things.
- Enable Ghostty.
- God knows what else.
2025-03-20 09:02:25 -06:00

22 lines
734 B
EmacsLisp
Executable File

;;; early-init.el -*- lexical-binding: t; -*-
(add-to-list 'load-path (file-name-concat user-emacs-directory "lib"))
(require 'syd-constants)
;; Disable package.el; we use Straight.
(setq package-enable-at-startup nil)
;; Enable use-package statistics for the sake of start-up profiling.
(setq use-package-compute-statistics t)
(setq gc-cons-threshold
;; (8 gibibytes)
(* 8 (expt 1024 3)))
(set-frame-parameter nil 'drag-with-header-line t)
(set-frame-parameter nil 'undecorated t)
;; By default, Emacs will cache compilation artifacts in my personal config
;; directory — I'm not keen on that! Redirect it to a dedicated cache directory.
(startup-redirect-eln-cache (file-name-concat syd-cache-dir "eln-cache"))