feat(jeeves): enable podman
This commit is contained in:
parent
df4e037373
commit
1d9d1697a9
2 changed files with 15 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
||||||
# ./immich.nix
|
# ./immich.nix
|
||||||
# ./nextcloud.nix
|
# ./nextcloud.nix
|
||||||
./paperless.nix
|
./paperless.nix
|
||||||
|
./podman.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# services.kanidm = { };
|
# services.kanidm = { };
|
||||||
|
|
14
hosts/nixos/jeeves/podman.nix
Normal file
14
hosts/nixos/jeeves/podman.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue