summaryrefslogtreecommitdiff
path: root/nix/modules/docker.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/modules/docker.nix')
-rw-r--r--nix/modules/docker.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/nix/modules/docker.nix b/nix/modules/docker.nix
index dbe4326..1168341 100644
--- a/nix/modules/docker.nix
+++ b/nix/modules/docker.nix
@@ -1,4 +1,16 @@
{ lib, config, vars, ... }:
{
- virtualisation.docker.enable = true;
+ virtualisation = {
+ oci-containers = {
+ backend = "podman";
+ containers = {};
+ };
+ containers.enable = true;
+ docker.enable = true;
+ podman = {
+ enable = true;
+ dockerCompat = true;
+ defaultNetwork.settings.dns_enabled = true;
+ };
+ };
}