mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-17 08:01:02 +00:00
colima!
This commit is contained in:
parent
41186b8c17
commit
1d7e28ff72
2 changed files with 29 additions and 0 deletions
28
home/colima.nix
Normal file
28
home/colima.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
defaultProfile = "default";
|
||||||
|
in {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
docker-buildx
|
||||||
|
docker-client
|
||||||
|
docker-compose
|
||||||
|
];
|
||||||
|
|
||||||
|
services.colima = {
|
||||||
|
enable = true;
|
||||||
|
colimaHomeDir = "${config.xdg.configHome}/colima";
|
||||||
|
dockerPackage = pkgs.docker-client;
|
||||||
|
|
||||||
|
profiles.${defaultProfile} = {
|
||||||
|
isActive = true;
|
||||||
|
isService = true;
|
||||||
|
settings = {
|
||||||
|
runtime = "docker";
|
||||||
|
vmType = "qemu";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./common.nix
|
./common.nix
|
||||||
|
./colima.nix
|
||||||
./karabiner.nix
|
./karabiner.nix
|
||||||
./rectangle.nix
|
./rectangle.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue