mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
Aquamarine's services now run directly on kubevirt-youko, so the guest definition is no longer needed: - move its service modules to hosts/k8s/kubevirt-youko/aquamarine/ and drop the explicit import list, leaving aquamarine-services.nix with just its IP and secret groups - delete the guest base, journald override, output entry and home config - repoint the eval tests that read the guest's config to kubevirt-youko - drop the now-dead 'aqua' colmena recipe and its image upload The aqua KubeVirt VM itself is deleted separately; the name is kept in the docs for a possible later test microvm/qemu-vm on idols-ai.
30 lines
624 B
Nix
30 lines
624 B
Nix
{
|
|
lib,
|
|
mylib,
|
|
...
|
|
}:
|
|
{
|
|
imports = mylib.scanPaths ./.;
|
|
|
|
virtualisation = {
|
|
docker.enable = lib.mkForce false;
|
|
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;
|
|
# Periodically prune Podman resources
|
|
autoPrune = {
|
|
enable = true;
|
|
dates = "weekly";
|
|
flags = [ "--all" ];
|
|
};
|
|
};
|
|
|
|
oci-containers = {
|
|
backend = "podman";
|
|
};
|
|
};
|
|
}
|