infra/modules/docker/default.nix
Pablo Ovelleiro Corral 512ab12de1
All checks were successful
Flake checks / Check (pull_request) Successful in 6m2s
Put modules into uniform folders
2024-04-28 19:17:09 +02:00

12 lines
220 B
Nix

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