summaryrefslogtreecommitdiff
path: root/microvms/authentik
diff options
context:
space:
mode:
authorGrigory Shipunov2025-01-12 21:42:36 +0000
committerGrigory Shipunov2025-01-12 22:01:04 +0000
commit3771c9295b8a0958443927f622b047254b74a1bb (patch)
treed580a89532e90ae1be8c5bdca6e149bcca503b66 /microvms/authentik
parentbd44fc6fcb1fe3df7b8a8c81839e34470fed7911 (diff)
some cloud-hypervisor network fuckery, back to qemu
Diffstat (limited to 'microvms/authentik')
-rw-r--r--microvms/authentik/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/microvms/authentik/default.nix b/microvms/authentik/default.nix
index a0b3ac8..badb384 100644
--- a/microvms/authentik/default.nix
+++ b/microvms/authentik/default.nix
@@ -1,6 +1,6 @@
{ config, lib, ... }:
let
- mac = "c0:ff:ee:00:00:00";
+ mac = "02:00:00:00:00:01";
in
{
imports = [
@@ -18,7 +18,7 @@ in
};
microvm = {
- hypervisor = "cloud-hypervisor";
+ hypervisor = "qemu";
mem = 2 * 1024;
vcpu = 2;
interfaces = [
@@ -60,7 +60,10 @@ in
enable = true;
networks."11-host" = {
matchConfig.MACAddress = mac;
- networkConfig.Address = "10.99.99.10/24";
+ networkConfig = {
+ Address = "10.99.99.10/24";
+ DHCP = "no";
+ };
routes = [
{
Gateway = "10.99.99.1";