Skip to content

Commit a361718

Browse files
Merge pull request #245 from NuschtOS/etkecc
matrix: use synapse-admin-etkecc if available
2 parents 43e6d64 + ba11984 commit a361718

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

modules/matrix.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ in
5656
synapse-admin = {
5757
enable = lib.mkEnableOption "" // { description = "Whether to configure synapse-admin to be served at the matrix servers domain under the /admin path."; };
5858

59-
package = lib.mkPackageOption pkgs "synapse-admin" { };
59+
package = lib.mkPackageOption pkgs "synapse-admin" { } // {
60+
# TODO: remove after 25.05
61+
default = pkgs.synapse-admin-etkecc or pkgs.synapse-admin;
62+
example = "pkgs.synapse-admin-etkecc";
63+
extraDescription = "If synapse-admin-etkecc exists, that is the default, otherwise synapse-admin.";
64+
};
6065
};
6166

6267
recommendedDefaults = libS.mkOpinionatedOption "set recommended and secure default settings";

0 commit comments

Comments
 (0)