[nix] Add separate comacs service to double as the UI daemon

This commit is contained in:
Sebastian Schulze 2022-03-04 10:00:11 +01:00
parent b1e8897a25
commit 69e6ff6f9a
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
1 changed files with 16 additions and 0 deletions

View File

@ -262,6 +262,22 @@ in
};
};
systemd.user.services.comacs = {
Unit = {
Description = "Emacs Coding daemon";
X-RestartIfChanged = "false";
};
Service = {
ExecStart = "${pkgs.emacsPgtkGcc}/bin/emacs --fg-daemon=comacs";
Restart = "on-failure";
SuccessExitStatus = 15;
Type = "notify";
};
Install = {
WantedBy = [ "default.target" ];
};
};
systemd.user.services.mako = {
Unit = {
Description = "Mako notifications";