1
0
Fork 0
forked from pub-solar/infra
pub-solar-infra-new/modules/docker/default.nix
2024-05-08 22:57:07 +02:00

13 lines
220 B
Nix

{ pkgs, ... }:
{
virtualisation.docker = {
enable = true;
extraOptions = ''
--data-root /var/lib/docker
'';
storageDriver = "zfs";
};
networking.firewall.trustedInterfaces = [ "docker0" ];
}