forked from hinterland/hearth
fix: matrix-cluster-users
This commit is contained in:
@@ -18,7 +18,10 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
adminNames = [ "yukkop" ];
|
adminNames = [ "yukkop" ];
|
||||||
|
|
||||||
|
cfg = config.hectic.generic.matrix-cluster;
|
||||||
in {
|
in {
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
hectic.generic.matrix-cluster.users = builtins.listToAttrs (
|
hectic.generic.matrix-cluster.users = builtins.listToAttrs (
|
||||||
map (name: {
|
map (name: {
|
||||||
inherit name;
|
inherit name;
|
||||||
@@ -41,3 +44,4 @@ in {
|
|||||||
}) userNames
|
}) userNames
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user