16 lines
353 B
Nix
16 lines
353 B
Nix
{
|
|
virtualisation = {
|
|
containers.enable = true;
|
|
podman.enable = true;
|
|
oci-containers.containers = {
|
|
postgres = {
|
|
image = "docker.io/library/postgres:15";
|
|
volumes = [ "postgres-15:/var/lib/postgresql/data" ];
|
|
extraOptions = [
|
|
"--pull=newer"
|
|
"--network=www"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|