Skip to content

Commit c3cd5ff

Browse files
stackptrclaude
andauthored
feat: use home-manager colima service module (#369)
Replace manual colima/docker package installation with the upstream home-manager services.colima module, which manages the launchd agent, docker context, and config file declaratively. Closes #289 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5c1cd2b commit c3cd5ff

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

‎modules/home/development.nix‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,24 @@ in {
199199

200200
(mkIf cfg.containers.enable {
201201
home.packages = with pkgs; [
202-
colima
203-
docker
204202
lazydocker
205203
];
206204

205+
services.colima = {
206+
enable = true;
207+
profiles.default = {
208+
isActive = true;
209+
isService = true;
210+
settings = {
211+
cpu = 4;
212+
disk = 60;
213+
memory = 8;
214+
arch = "aarch64";
215+
mountInotify = true;
216+
};
217+
};
218+
};
219+
207220
programs.ssh.includes = [
208221
"~/.colima/ssh_config"
209222
];

0 commit comments

Comments
 (0)