hosts: dmz: add gitea-runner in microvm

This commit is contained in:
2023-10-16 17:05:17 +02:00
parent 82bfe68ae4
commit eaf2cf1973
4 changed files with 25 additions and 15 deletions

View File

@@ -15,9 +15,8 @@ in
config.allowUnfree = true;
};
imports = [( ./gitea_runner.nix )];
config = {
imports = [( ./gitea_runner.nix )];
networking = {
hostName = "${name}-runner";
@@ -68,7 +67,7 @@ in
id = "vm-${name}";
mac = "04:00:00:00:00:01";
macvtap = {
link = "enp34s0";
link = "enp6s18";
mode = "bridge";
};
} ];
@@ -78,8 +77,8 @@ in
tag = "ro-store";
proto = "virtiofs";
}];
writableStoreOverlay = "/nix/.rw-store";
storeOnDisk = true;
#writableStoreOverlay = "/nix/.rw-store";
#storeOnDisk = true;
};
system.stateVersion = "23.05";
};