forked from fediversity/fediversity
Compare commits
21 commits
dd542cdfae
...
5709d4acc8
| Author | SHA1 | Date | |
|---|---|---|---|
| 5709d4acc8 | |||
| 0e60ff548f | |||
| c9d07ce7e4 | |||
| 1198af141f | |||
| fdf03af711 | |||
| ccbe6d9e83 | |||
| d836e2294f | |||
| 4b9cf35e88 | |||
| 532f87b2ff | |||
| a3b5b8b2fe | |||
| cbfdeb0cd7 | |||
| e8551f2cc3 | |||
| 272b0f1584 | |||
| f2a35dec24 | |||
| 4767e0b97c | |||
| ac81cc5780 | |||
| 618a891062 | |||
| 3e34c0cf82 | |||
| 23677ecb80 | |||
| 446400212b | |||
| c2646c98c4 |
2 changed files with 1 additions and 6 deletions
|
|
@ -71,7 +71,6 @@ in
|
|||
};
|
||||
policy =
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
_class = "fediversity-resource-policy";
|
||||
options = {
|
||||
|
|
|
|||
|
|
@ -106,11 +106,7 @@ in
|
|||
# TODO: maybe transpose, and group the resources by type instead
|
||||
type = functionTo (
|
||||
attrsOf (
|
||||
attrTag (
|
||||
lib.mapAttrs (
|
||||
_name: resource: mkOption { type = types.submodule resource.request; }
|
||||
) config.resources
|
||||
)
|
||||
attrTag (lib.mapAttrs (_name: resource: mkOption { type = resource.request; }) config.resources)
|
||||
)
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue