moved docker to modules

This commit is contained in:
Richie Cahill
2024-04-18 17:53:15 -04:00
parent 8cc17721f0
commit 7a603ce739
7 changed files with 30 additions and 127 deletions

View File

@ -17,29 +17,6 @@
useSystemdBoot = true;
};
virtualisation = {
docker = {
enable = true;
recommendedDefaults = true;
logDriver = "local";
storageDriver = "overlay2";
daemon."settings" = {
experimental = true;
data-root = "/var/lib/docker";
exec-opts = [ "native.cgroupdriver=systemd" ];
log-opts = {
max-size = "10m";
max-file = "5";
};
};
};
podman = {
enable = true;
recommendedDefaults = true;
};
};
environment = {
systemPackages = with pkgs; [ docker-compose ];
etc = {