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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -4,6 +4,7 @@
|
|||||||
./skhd.nix
|
./skhd.nix
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
./autossh.nix
|
./autossh.nix
|
||||||
|
./colima.nix
|
||||||
# ./homeassistant.nix
|
# ./homeassistant.nix
|
||||||
# ./zerotier.nix
|
# ./zerotier.nix
|
||||||
# ./jellyfin.nix
|
# ./jellyfin.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user