11 lines
No EOL
279 B
Nix
11 lines
No EOL
279 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
virtualisation.docker = {
|
|
enable = true;
|
|
liveRestore = false;
|
|
autoPrune.enable = true;
|
|
};
|
|
|
|
# But allow docker containers to access the local machine
|
|
networking.firewall.trustedInterfaces = [ "docker0" ];
|
|
} |