{ pkgs, lib, fetchFromGitHub, ... }: { programs.emacs.enable = true; services.emacs.enable = true; home.activation.doom = lib.hm.dag.entryAfter["writeBoundary"] '' if [ ! -d .emacs.d ]; then git clone --depth 1 https://github.com/doomemacs/doomemacs .emacs.d fi ''; home.file = { ".doom.d" = { source = ./.doom.d; recursive = true; }; ".emacs.d/everforest".source = pkgs.fetchFromGitHub { owner = "Theory-of-Everything"; repo = "everforest-emacs"; rev = "703b16b742b753f6ad077b5c7f51947d1926c530"; sha256 = "sha256-ZtpN6wM+R+4w1FCO6axWRNFX8feSau/o3V/wnw5EiJQ="; }; }; }