server | swith from docker to podman

This commit is contained in:
Don Harper 2022-11-26 23:25:06 -06:00
parent 5d84541909
commit 15e64b7564

View file

@ -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;
};
};
}