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: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
docker-compose #vim
git-crypt git-crypt
gitFull gitFull
gnupg gnupg
home-manager home-manager
keyutils keyutils
mosh mosh
podman-compose
python310 python310
python310Packages.tldextract
python310Packages.pipx python310Packages.pipx
python310Packages.setuptools python310Packages.setuptools
python310Packages.tldextract
syncthing syncthing
tailscale tailscale
tmux tmux
tmuxp tmuxp
topgrade topgrade
#vim
wget wget
]; ];
@ -146,5 +146,15 @@
automatic = true; automatic = true;
options = "-d"; 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;
};
};
} }