config

NixOS config
Log | Files | Refs | README | LICENSE

commit ec19b63f7a759bd08a7e9f681f8d0cbe5e69c749 (tree)
parent 2fe89663ef9d04d91d2ba9d3488cea2c53b9b15a
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Fri, 10 Apr 2026 15:03:35 +0300

macworx: trying docker

Diffstat:
Mhosts/macworx/configuration.nix | 36+++++++++++++++++++++++++-----------
1 file changed, 25 insertions(+), 11 deletions(-)

diff --git a/hosts/macworx/configuration.nix b/hosts/macworx/configuration.nix @@ -72,23 +72,37 @@ in environment.systemPackages = [ pkgs.autoraise pkgs.syncthing-macos + pkgs.pkgs-unstable.colima + pkgs.pkgs-unstable.docker-client pkgs.tailscale # RustDesk client: install .dmg from rustdesk.com (nix doesn't build on darwin) ]; - launchd.daemons.tailscaled = { - command = "${pkgs.tailscale}/bin/tailscaled"; - serviceConfig = { - KeepAlive = true; - RunAtLoad = true; + launchd = { + daemons.tailscaled = { + command = "${pkgs.tailscale}/bin/tailscaled"; + serviceConfig = { + KeepAlive = true; + RunAtLoad = true; + }; }; - }; - launchd.user.agents.autoraise = { - command = "${pkgs.autoraise}/bin/autoraise"; - serviceConfig = { - KeepAlive = true; - RunAtLoad = true; + user.agents = { + colima = { + command = "${pkgs.pkgs-unstable.colima}/bin/colima start --foreground"; + serviceConfig = { + KeepAlive = true; + RunAtLoad = true; + }; + }; + + autoraise = { + command = "${pkgs.autoraise}/bin/autoraise"; + serviceConfig = { + KeepAlive = true; + RunAtLoad = true; + }; + }; }; };