feat(atuin): add macOS launchd daemon agent
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled

This commit is contained in:
2026-01-13 16:23:45 +05:30
parent 2494e8ce83
commit 9a6d19b101

View File

@@ -35,4 +35,23 @@
# Environment = lib.mkForce "ATUIN_DATA_DIR=${device.home}/.local/share/atuin"; # Environment = lib.mkForce "ATUIN_DATA_DIR=${device.home}/.local/share/atuin";
}; };
}; };
launchd.agents.atuin-daemon = {
enable = true;
config = {
# A label for the service
Label = "dev.darksailor.atuin-daemon";
# The command to run
ProgramArguments = [
"${pkgs.atuin}/bin/atuin"
"daemon"
];
# Run the service when you log in
RunAtLoad = true;
# Keep the process alive, or restart if it dies
KeepAlive = true;
# Log files
StandardOutPath = "${device.home}/Library/Logs/atuin-daemon.log";
StandardErrorPath = "${device.home}/Library/Logs/atuin-daemon.error.log";
};
};
} }