add basic guest config (warning CI is definitely failing lol)

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-05-25 15:19:01 -04:00
parent 45610cb886
commit 3a61c7522d
6 changed files with 85 additions and 9 deletions

View File

@ -0,0 +1 @@
{ ... }: { }

View File

@ -0,0 +1 @@
{ ... }: { }

View File

@ -12,7 +12,7 @@ in
imports = [ microvm.host ];
options.rad-dev.microvm-host = {
vms = lib.mkOption {
type = lib.types.attrset;
type = lib.types.attrs;
default = { };
description = "A list of VMs to construct on the host";
};
@ -20,13 +20,6 @@ in
config = {
networking.useNetworkd = true;
microvm.vms = cfg.vms;
microvm.shares = [
{
tag = "ro-store";
source = "/nix/store";
mountPoint = "/nix/.ro-store";
}
];
# TODO: deprecate this once we have syslog forwarders
systemd.tmpfiles.rules = map (