more microvm rice

This commit is contained in:
iofq 2024-01-27 19:39:29 -06:00
parent 94ebce046b
commit 6ae9ddb73a
9 changed files with 123 additions and 49 deletions

View file

@ -1,5 +1,4 @@
{ inputs, pkgs, attrs, system, ... }:
{
{ inputs, pkgs, attrs, system, ... }: {
t14 = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs system pkgs;
@ -16,7 +15,6 @@
};
rknrd = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs system pkgs;
host = {
hostName = "rknrd";
username = attrs.username;
@ -30,6 +28,13 @@
htz = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs system pkgs;
addressList = {
vm-test = {
ipv4 = "10.0.0.2";
subnet = "/24";
mac = "02:00:00:00:00:01";
};
};
host = {
hostName = "htz";
username = attrs.username;