added podman

This commit is contained in:
Aly Raffauf 2024-02-29 18:29:15 -05:00
parent 8c2b1464a2
commit c9e546b83b
2 changed files with 15 additions and 0 deletions

View file

@ -29,6 +29,7 @@
./hardware
./network
./desktop/gnome
./programs/podman
nix-flatpak.nixosModules.nix-flatpak
# make home-manager as a module of nixos

View file

@ -0,0 +1,14 @@
{ pkgs, ... }:
{
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.settings.dns_enabled = true;
};
};
}