{ config, lib, pkgs, inputs, ... }: { imports = [ ../../common/programs/emacs.nix ]; config = lib.mkIf config.nathan.programs.emacs.enable { # Setup service launchd.agents.emacs = { enable = true; config = { ProgramArguments = [ "/etc/profiles/per-user/nathan/bin/emacs" "--daemon" ]; ProcessType = "Interactive"; RunAtLoad = true; }; }; }; }