feat(jeeves): enable podman

This commit is contained in:
reo101 2024-09-01 04:33:50 +03:00
parent df4e037373
commit 1d9d1697a9
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
2 changed files with 15 additions and 0 deletions

View file

@ -19,6 +19,7 @@
# ./immich.nix
# ./nextcloud.nix
./paperless.nix
./podman.nix
];
# services.kanidm = { };

View file

@ -0,0 +1,14 @@
{ inputs, lib, pkgs, config, ... }:
{
# Enable common container config files in /etc/containers
virtualisation.containers.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.settings.dns_enabled = true;
};
}