Skip to content

Commit

Permalink
chore(docker): add up command
Browse files Browse the repository at this point in the history
  • Loading branch information
z0al committed Nov 21, 2024
1 parent 4d8dc43 commit a6e6749
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions modules/programs/docker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,15 @@ in
docker-client
docker-compose
docker-credential-helpers

# docker-up command
(pkgs.writeScriptBin "docker-up" ''
${lib.getExe colima} start --cpu 8 --memory 12 --disk 120
'')
];

environment.variables = {
DOCKER_HOST = "unix://${colimaHome}/default/docker.sock";
};

# my.user = {
# xdg.configFile."colima/default/colima.yaml".source = toYAML "colima.yaml" {
# cpu = 8;
# memory = 12;
# disk = 120;
# runtime = "docker";
# autoActivate = true;
# };
# };
};
}

0 comments on commit a6e6749

Please sign in to comment.