15 lines
362 B
Nix
15 lines
362 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
# Enable docker
|
||
|
virtualisation.docker = {
|
||
|
enable = true;
|
||
|
liveRestore = false;
|
||
|
};
|
||
|
# Source: https://forums.docker.com/t/error-response-from-daemon-rpc-error-code-unavailable-desc-grpc-the-connection-is-unavailable/39066/12
|
||
|
networking.firewall = {
|
||
|
allowedTCPPorts = [ 2376 2377 7946 ];
|
||
|
allowedUDPPorts = [ 7946 4789 ];
|
||
|
};
|
||
|
}
|