Modularised configs

This commit is contained in:
2025-04-14 17:27:09 +01:00
parent 3b58914a89
commit ca11305fc5
12 changed files with 361 additions and 274 deletions

View File

@@ -0,0 +1,23 @@
{
inputs,
lib,
config,
pkgs,
unstablePkgs,
...
}: {
virtualisation = {
containers.enable = true;
podman = {
enable = true;
# Create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true;
dockerSocket.enable = true;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
libvirtd.enable = true;
};
}