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.
22 lines
873 B
Nix
22 lines
873 B
Nix
{ ... }:
|
|
{
|
|
# aquamarine's service modules (caddy, gitea, grafana, monitoring, oci
|
|
# containers, postgresql, restic, sftpgo, transmission, and the HDD disko
|
|
# config) live in ./aquamarine/ and are auto-imported by this host's
|
|
# scanPaths. Its HDD disko config only defines the two data disks (no root
|
|
# disk), so it is imported as-is -- disko's NixOS module only generates the
|
|
# fileSystems/mounts, it never reformats.
|
|
#
|
|
# keep aquamarine's IP on this host's bridge so its services and DNS keep
|
|
# resolving after the migration (the NixOS list option merges with the .183)
|
|
systemd.network.networks."10-br0".networkConfig.Address = [ "192.168.5.101/24" ];
|
|
|
|
# the same secret groups the aqua VM enabled
|
|
modules.secrets.server = {
|
|
application.enable = true;
|
|
operation.enable = true;
|
|
webserver.enable = true;
|
|
storage.enable = true;
|
|
};
|
|
}
|