{ pkgs, ... }: { home.packages = with pkgs; [ ripgrep fd findutils cmake nil lua-language-server shellcheck shfmt ]; # Symlink doom config into place xdg.configFile."doom" = { source = ../../config/doom; recursive = true; }; # Emacs daemon service pointing directly to system Emacs systemd.user.services.emacs = { Unit = { Description = "Emacs daemon"; After = [ "graphical-session.target" ]; }; Service = { Type = "notify"; ExecStart = "/usr/bin/emacs --fg-daemon"; ExecStop = "/usr/bin/emacsclient --eval '(kill-emacs)'"; Restart = "on-failure"; }; Install = { WantedBy = [ "graphical-session.target" ]; }; }; }