2022-10-15 05:20:05 -04:00
|
|
|
{ config, lib, pkgs, inputs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ ../../common/programs/emacs.nix ];
|
|
|
|
|
|
|
|
config = lib.mkIf config.nathan.programs.emacs.enable {
|
|
|
|
# Setup service
|
|
|
|
launchd.agents.emacs = {
|
2023-03-27 17:20:32 -04:00
|
|
|
enable = false;
|
2022-10-15 05:20:05 -04:00
|
|
|
config = {
|
|
|
|
ProgramArguments =
|
|
|
|
[ "/etc/profiles/per-user/nathan/bin/emacs" "--daemon" ];
|
|
|
|
ProcessType = "Interactive";
|
|
|
|
RunAtLoad = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|