diff options
author | jjanzen <jjanzen@jjanzen.ca> | 2025-01-09 10:38:02 -0600 |
---|---|---|
committer | jjanzen <jjanzen@jjanzen.ca> | 2025-01-09 10:38:02 -0600 |
commit | ec9e18d27dc04bd18dc99e4f9a118495a2da26b2 (patch) | |
tree | f3086a7ef48d42788af0d5292897d881c1d05884 /macos.local/.flake/home | |
parent | bbcbd0a074fef5addc2b03295159655597491e2c (diff) |
system changes
Diffstat (limited to 'macos.local/.flake/home')
-rw-r--r-- | macos.local/.flake/home/programs/emacs/core.nix.org | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/macos.local/.flake/home/programs/emacs/core.nix.org b/macos.local/.flake/home/programs/emacs/core.nix.org index d891ccb..1645f53 100644 --- a/macos.local/.flake/home/programs/emacs/core.nix.org +++ b/macos.local/.flake/home/programs/emacs/core.nix.org @@ -1,10 +1,6 @@ #+title: Emacs Configuration -Here is my Emacs configuration. Define configuration files that should exist, define a macOS application wrapper for =emacsclient= that runs =emacsclient= and disowns the process before closing. Apply patches from =d12frosted/emacs-plus= Homebrew package for Emacs: -- Fix OS window role (=yabai= needs this to tile Emacs) -- Enable rounded window with no decoration (I don't really use this) -- Make Emacs aware of OS-level light/dark mode - +Here is my Emacs configuration. This file just defines configurations that should exist. Emacs is installed with Homebrew. #+begin_src nix { config, pkgs, ... }: @@ -13,32 +9,5 @@ Here is my Emacs configuration. Define configuration files that should exist, de "./.config/emacs/feed.org".source = ./feed.org; "./.config/emacs/init.el".source = ./init.el; }; - nixpkgs.overlays = [ - (final: prev: - { - emacs = prev.emacs.overrideAttrs (old: { - patches = (old.patches or []) - ++ [ - (prev.fetchpatch { - url = "https://raw.githubusercontent.com/d12frosted/homebrew-emacs-plus/master/patches/emacs-28/fix-window-role.patch"; - sha256 = "sha256-+z/KfsBm1lvZTZNiMbxzXQGRTjkCFO4QPlEK35upjsE="; - }) - (prev.fetchpatch { - url = "https://raw.githubusercontent.com/d12frosted/homebrew-emacs-plus/master/patches/emacs-29/round-undecorated-frame.patch"; - sha256 = "sha256-uYIxNTyfbprx5mCqMNFVrBcLeo+8e21qmBE3lpcnd+4="; - }) - (prev.fetchpatch { - url = "https://raw.githubusercontent.com/d12frosted/homebrew-emacs-plus/master/patches/emacs-28/system-appearance.patch"; - sha256 = "sha256-oM6fXdXCWVcBnNrzXmF0ZMdp8j0pzkLE66WteeCutv8="; - }) - ]; - }); - } - ) - ]; - programs.emacs = { - enable = true; - package = pkgs.emacs; - }; } #+end_src |