Compare commits

..

1 commit

Author SHA1 Message Date
064d59cb19
draft types 2025-06-23 09:16:10 +02:00

View file

@ -18,31 +18,24 @@ let
_class = "nixos"; _class = "nixos";
}; };
}; };
runtime-environment = attrTag ( runtime-environment = attrTag {
mapAttrs nixos = mkOption {
(
name: options:
mkOption {
type = submoduleWith { type = submoduleWith {
modules = [ modules = [
{ {
options = options // { options = {
module = mkOption { module = mkOption {
description = "The NixOS module of the run-time environment"; description = "The NixOS module of the run-time environment";
type = deferredModule; type = deferredModule;
default = config.runtime-configurations.${name}; default = config.runtime-configurations.nixos;
readOnly = true; readOnly = true;
}; };
}; };
} }
]; ];
}; };
} };
) };
{
nixos = { };
}
);
application = submoduleWith { application = submoduleWith {
description = "A Fediversity application"; description = "A Fediversity application";
modules = [ modules = [