forked from fediversity/fediversity
Compare commits
26 commits
5709d4acc8
...
dd542cdfae
| Author | SHA1 | Date | |
|---|---|---|---|
| dd542cdfae | |||
| 7bdbaf61d8 | |||
| 864010a4be | |||
| 4d69cd6024 | |||
| 76ee37c10e | |||
| 55546b50b1 | |||
| 4a7b9f0f72 | |||
| 0c1628e8e1 | |||
| 455043bbf9 | |||
| 86b5d4ea67 | |||
| 171404366a | |||
| ef0c33e4b6 | |||
| 8a06661949 | |||
| 4d9cdf923d | |||
| da0aed31b8 | |||
| 122e6ee013 | |||
| 31c619be38 | |||
| 75b99d8ef1 | |||
| ad064fed1f | |||
| b15c188555 | |||
| 1ed1e87bc8 | |||
| 7a1ed05304 | |||
| 883f24d1ad | |||
| 240f8b34f7 | |||
| 65924b1a80 | |||
| 9c8f86a3c4 |
2 changed files with 6 additions and 1 deletions
|
|
@ -71,6 +71,7 @@ in
|
|||
};
|
||||
policy =
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
_class = "fediversity-resource-policy";
|
||||
options = {
|
||||
|
|
|
|||
|
|
@ -106,7 +106,11 @@ in
|
|||
# TODO: maybe transpose, and group the resources by type instead
|
||||
type = functionTo (
|
||||
attrsOf (
|
||||
attrTag (lib.mapAttrs (_name: resource: mkOption { type = resource.request; }) config.resources)
|
||||
attrTag (
|
||||
lib.mapAttrs (
|
||||
_name: resource: mkOption { type = types.submodule resource.request; }
|
||||
) config.resources
|
||||
)
|
||||
)
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue