diff options
| author | Fuwn <[email protected]> | 2024-09-20 06:48:10 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-20 06:48:10 -0700 |
| commit | b11667a8b0335709f5a3ac73c89b967bd8e352e9 (patch) | |
| tree | d6332afcaf4d8eb11dbe096b9012b11f9eac748b /modules/server/virtualisation.nix | |
| parent | just: ensure git add (diff) | |
| download | nixos-config-b11667a8b0335709f5a3ac73c89b967bd8e352e9.tar.xz nixos-config-b11667a8b0335709f5a3ac73c89b967bd8e352e9.zip | |
server: restrict open ports
Diffstat (limited to 'modules/server/virtualisation.nix')
| -rw-r--r-- | modules/server/virtualisation.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/server/virtualisation.nix b/modules/server/virtualisation.nix index 0bda69e..151cd9d 100644 --- a/modules/server/virtualisation.nix +++ b/modules/server/virtualisation.nix @@ -5,7 +5,14 @@ in { virtualisation = { containers.enable = true; - docker.enable = containerEngine == "docker"; + + docker = { + enable = containerEngine == "docker"; + + daemon.settings = { + iptables = false; + }; + }; podman = { enable = containerEngine == "podman"; |