add basic guest config (warning CI is definitely failing lol)
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
1
modules/opt/k3s-agent.nix
Normal file
1
modules/opt/k3s-agent.nix
Normal file
@ -0,0 +1 @@
|
||||
{ ... }: { }
|
1
modules/opt/k3s-server.nix
Normal file
1
modules/opt/k3s-server.nix
Normal file
@ -0,0 +1 @@
|
||||
{ ... }: { }
|
@ -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 (
|
||||
|
Reference in New Issue
Block a user