summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/mba.nix17
1 files changed, 16 insertions, 1 deletions
diff --git a/user/mba.nix b/user/mba.nix
index 2ca88fba..5da3eb9e 100644
--- a/user/mba.nix
+++ b/user/mba.nix
@@ -1,4 +1,4 @@
-{ ... }: {
+{ pkgs, ... }: {
   imports = [
     ./settings/base.nix
     ./settings/development/base.nix
@@ -17,4 +17,19 @@
   home.username = "alan";
   home.homeDirectory = "/home/alan";
   home.stateVersion = "22.11";
+
+  launchd.agents.colima = {
+    enable = true;
+    config = {
+      ProgramArguments = [ "${pkgs.colima}/bin/colima" "start" ];
+      RunAtLoad = true;
+      # It doesn't run in the foreground, yet...
+      # KeepAlive = true;
+      WorkingDirectory = "/Users/alan";
+      StandardOutPath = "/Users/alan/Library/Logs/colima.log";
+      StandardErrorPath = "/Users/alan/Library/Logs/colima.log";
+      EnvironmentVariables.HOME = "/Users/alan";
+    };
+  };
+
 }