up
This commit is contained in:
@@ -36,22 +36,9 @@ let user = "cschmatzler"; in
|
||||
|
||||
# Load configuration that is shared across systems
|
||||
environment.systemPackages = with pkgs; [
|
||||
emacs-unstable
|
||||
agenix.packages."${pkgs.system}".default
|
||||
] ++ (import ../../modules/shared/packages.nix { inherit pkgs; });
|
||||
|
||||
launchd.user.agents.emacs.path = [ config.environment.systemPath ];
|
||||
launchd.user.agents.emacs.serviceConfig = {
|
||||
KeepAlive = true;
|
||||
ProgramArguments = [
|
||||
"/bin/sh"
|
||||
"-c"
|
||||
"/bin/wait4path ${pkgs.emacs}/bin/emacs && exec ${pkgs.emacs}/bin/emacs --fg-daemon"
|
||||
];
|
||||
StandardErrorPath = "/tmp/emacs.err.log";
|
||||
StandardOutPath = "/tmp/emacs.out.log";
|
||||
};
|
||||
|
||||
system = {
|
||||
checks.verifyNixPath = false;
|
||||
primaryUser = user;
|
||||
|
||||
Reference in New Issue
Block a user