forked from pub-solar/infra
12 lines
220 B
Nix
12 lines
220 B
Nix
{ pkgs, ... }: {
|
|
virtualisation.docker = {
|
|
enable = true;
|
|
extraOptions = ''
|
|
--data-root /var/lib/docker
|
|
'';
|
|
storageDriver = "zfs";
|
|
};
|
|
|
|
networking.firewall.trustedInterfaces = [ "docker0" ];
|
|
}
|