2024-03-14 03:51:03 -05:00
|
|
|
{ pkgs, ... }: {
|
|
|
|
environment.systemPackages = with pkgs; [ docker docker-compose ];
|
2023-10-28 03:05:37 -05:00
|
|
|
|
|
|
|
virtualisation = {
|
|
|
|
oci-containers.backend = "docker";
|
|
|
|
containers.enable = true;
|
|
|
|
docker = {
|
|
|
|
enable = true;
|
2024-03-16 16:49:12 -05:00
|
|
|
rootless = {
|
|
|
|
enable = true;
|
|
|
|
setSocketVariable = true;
|
|
|
|
};
|
2023-10-28 03:05:37 -05:00
|
|
|
autoPrune.enable = true;
|
2024-02-01 00:32:54 -06:00
|
|
|
package = pkgs.docker;
|
2023-10-28 03:05:37 -05:00
|
|
|
};
|
|
|
|
};
|
2024-03-16 16:49:12 -05:00
|
|
|
}
|