infra/modules/docker.nix
b12f f5185e5c15
Some checks reported warnings
Flake checks / Check (pull_request) Has been cancelled
feat: add mediawiki
Co-authored-by: @teutat3s <teutates@mailbox.org>
2023-11-15 21:40:29 +01:00

12 lines
220 B
Nix

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