forked from fediversity/fediversity
Compare commits
1 commit
172939a617
...
064d59cb19
| Author | SHA1 | Date | |
|---|---|---|---|
| 064d59cb19 |
1 changed files with 18 additions and 25 deletions
|
|
@ -18,31 +18,24 @@ let
|
||||||
_class = "nixos";
|
_class = "nixos";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
runtime-environment = attrTag (
|
runtime-environment = attrTag {
|
||||||
mapAttrs
|
nixos = mkOption {
|
||||||
(
|
type = submoduleWith {
|
||||||
name: options:
|
modules = [
|
||||||
mkOption {
|
{
|
||||||
type = submoduleWith {
|
options = {
|
||||||
modules = [
|
module = mkOption {
|
||||||
{
|
description = "The NixOS module of the run-time environment";
|
||||||
options = options // {
|
type = deferredModule;
|
||||||
module = mkOption {
|
default = config.runtime-configurations.nixos;
|
||||||
description = "The NixOS module of the run-time environment";
|
readOnly = true;
|
||||||
type = deferredModule;
|
};
|
||||||
default = config.runtime-configurations.${name};
|
};
|
||||||
readOnly = true;
|
}
|
||||||
};
|
];
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
];
|
};
|
||||||
};
|
|
||||||
}
|
|
||||||
)
|
|
||||||
{
|
|
||||||
nixos = { };
|
|
||||||
}
|
|
||||||
);
|
|
||||||
application = submoduleWith {
|
application = submoduleWith {
|
||||||
description = "A Fediversity application";
|
description = "A Fediversity application";
|
||||||
modules = [
|
modules = [
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue