ammending the previous with un added files
This commit is contained in:
parent
7404966c92
commit
d0f4af1214
10 changed files with 330 additions and 6 deletions
11
modules/services/docker.nix
Normal file
11
modules/services/docker.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ 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" ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue