From be95cf97253fbf888cc21f7b4bd181a43ed2d4a8 Mon Sep 17 00:00:00 2001 From: Grisha Shipunov Date: Sat, 13 Dec 2025 00:01:02 +0100 Subject: use vsock in microvms --- hosts/auth/default.nix | 1 + hosts/conduwuit/default.nix | 1 + hosts/forgejo/default.nix | 1 + hosts/immich/default.nix | 1 + hosts/miniflux/default.nix | 1 + hosts/radicale/default.nix | 1 + hosts/stream/default.nix | 1 + 7 files changed, 7 insertions(+) (limited to 'hosts') diff --git a/hosts/auth/default.nix b/hosts/auth/default.nix index 08ceb47..734ef43 100644 --- a/hosts/auth/default.nix +++ b/hosts/auth/default.nix @@ -17,6 +17,7 @@ in microvm = { hypervisor = "cloud-hypervisor"; + vsock.cid = 3 + 1; mem = 2 * 1024; vcpu = 2; interfaces = [ diff --git a/hosts/conduwuit/default.nix b/hosts/conduwuit/default.nix index e5d051e..0f556b8 100644 --- a/hosts/conduwuit/default.nix +++ b/hosts/conduwuit/default.nix @@ -17,6 +17,7 @@ in microvm = { hypervisor = "cloud-hypervisor"; + vsock.cid = 3 + 6; mem = 3 * 1024; vcpu = 2; interfaces = [ diff --git a/hosts/forgejo/default.nix b/hosts/forgejo/default.nix index f1b67b3..dd356fa 100644 --- a/hosts/forgejo/default.nix +++ b/hosts/forgejo/default.nix @@ -17,6 +17,7 @@ in microvm = { hypervisor = "cloud-hypervisor"; + vsock.cid = 3 + 5; mem = 3 * 1024; balloon = true; vcpu = 4; diff --git a/hosts/immich/default.nix b/hosts/immich/default.nix index 6f21ee4..9e635d9 100644 --- a/hosts/immich/default.nix +++ b/hosts/immich/default.nix @@ -17,6 +17,7 @@ in microvm = { hypervisor = "cloud-hypervisor"; + vsock.cid = 3 + 3; mem = 3 * 1024; vcpu = 2; interfaces = [ diff --git a/hosts/miniflux/default.nix b/hosts/miniflux/default.nix index d1fcc34..d2f024f 100644 --- a/hosts/miniflux/default.nix +++ b/hosts/miniflux/default.nix @@ -17,6 +17,7 @@ in microvm = { hypervisor = "cloud-hypervisor"; + vsock.cid = 3 + 4; mem = 1 * 1024; vcpu = 2; interfaces = [ diff --git a/hosts/radicale/default.nix b/hosts/radicale/default.nix index a9095f5..db82eb0 100644 --- a/hosts/radicale/default.nix +++ b/hosts/radicale/default.nix @@ -17,6 +17,7 @@ in microvm = { hypervisor = "cloud-hypervisor"; + vsock.cid = 3 + 2; mem = 1 * 1024; vcpu = 1; interfaces = [ diff --git a/hosts/stream/default.nix b/hosts/stream/default.nix index d5c6cbe..2cad795 100644 --- a/hosts/stream/default.nix +++ b/hosts/stream/default.nix @@ -18,6 +18,7 @@ in microvm = { hypervisor = "cloud-hypervisor"; + vsock.cid = 3 + 7; mem = 3 * 1024; vcpu = 2; interfaces = [ -- cgit v1.3.1