This commit is contained in:
2025-08-03 20:02:48 +02:00
parent 55a090959d
commit c22eab800c
15 changed files with 4 additions and 515 deletions

View File

@@ -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;