From 22e07b8fa4bf75bb8dd634a0640e5190434f3694 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 16 Jul 2023 15:28:32 +0800 Subject: [PATCH] profiles/dev: replace Docker with Podman --- modules/nixos/profiles/dev.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/nixos/profiles/dev.nix b/modules/nixos/profiles/dev.nix index 29e12218..c8cd1471 100644 --- a/modules/nixos/profiles/dev.nix +++ b/modules/nixos/profiles/dev.nix @@ -132,13 +132,18 @@ in { virt-manager # An interface for those who are lazy to read a reference manual and create a 1000-line configuration per machine. ]; - # Enable Docker just as my main container runtime or something. - virtualisation.docker = { + # Podman with Docker compatibility which is not 100% but still better + # than nothing. + virtualisation.podman = { enable = true; + dockerCompat = true; autoPrune = { enable = true; dates = "weekly"; }; + defaultNetwork.settings = { + dns_enabled = true; + }; }; # Enable usual containers configuration.