hosts: dmz: add gitea-runner in microvm
This commit is contained in:
@@ -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";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user