From 15e64b7564294eef17d42093a610ebca6b05c9f8 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Sat, 26 Nov 2022 23:25:06 -0600 Subject: [PATCH] server | swith from docker to podman --- server/configuration.nix | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/server/configuration.nix b/server/configuration.nix index 745d37e..123d9c2 100644 --- a/server/configuration.nix +++ b/server/configuration.nix @@ -54,23 +54,23 @@ # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ - docker-compose + #vim git-crypt gitFull gnupg home-manager keyutils mosh + podman-compose python310 - python310Packages.tldextract python310Packages.pipx python310Packages.setuptools + python310Packages.tldextract syncthing tailscale tmux tmuxp topgrade - #vim wget ]; @@ -146,5 +146,15 @@ automatic = true; options = "-d"; }; - virtualisation.docker.enable = true; + virtualisation = { + podman = { + enable = true; + + # Create a `docker` alias for podman, to use it as a drop-in replacement + dockerCompat = true; + + # Required for containers under podman-compose to be able to talk to each other. + defaultNetwork.dnsname.enable = true; + }; + }; }