feat: Added colima to shiro
This commit is contained in:
26
darwin/shiro/services/colima.nix
Normal file
26
darwin/shiro/services/colima.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
pkgs,
|
||||
device,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
launchd.agents.colima = {
|
||||
enable = true;
|
||||
config = {
|
||||
# A label for the service
|
||||
Label = "com.abiosoft.colima";
|
||||
# The command to run
|
||||
ProgramArguments = [
|
||||
"${pkgs.colima}/bin/colima"
|
||||
"start"
|
||||
];
|
||||
# Run the service when you log in
|
||||
RunAtLoad = true;
|
||||
# Keep the process alive, or restart if it dies
|
||||
KeepAlive = false;
|
||||
# Log files
|
||||
StandardOutPath = "${config.home.homeDirectory}/Library/Logs/colima.log";
|
||||
StandardErrorPath = "${config.home.homeDirectory}/Library/Logs/colima.error.log";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user