aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-03-06 22:47:14 +0900
committersefidel <contact@sefidel.net>2024-03-06 22:47:14 +0900
commit7321f5c20fc758da5e6ce3e5ada280dd9865afe7 (patch)
treeed94d1a339acbd22389eb76614e661fb44c91a40
parentecd5cfcecc39532a0dc348157b94be302e828fb5 (diff)
downloadinfra-7321f5c20fc758da5e6ce3e5ada280dd9865afe7.zip
feat(modules/matrix-homeserver): use synapse v1.102.0 PR
-rw-r--r--flake.lock17
-rw-r--r--flake.nix9
2 files changed, 25 insertions, 1 deletions
diff --git a/flake.lock b/flake.lock
index f8914f1..3c67d34 100644
--- a/flake.lock
+++ b/flake.lock
@@ -483,6 +483,22 @@
"type": "github"
}
},
+ "nixpkgs-synapse": {
+ "locked": {
+ "lastModified": 1709696403,
+ "narHash": "sha256-H8n1eSU8Y0V8WUMXuFh6Y/us0iYJt6uY0vA9xj+U+/0=",
+ "owner": "NickCao",
+ "repo": "nixpkgs",
+ "rev": "f226fb4d801f4973eeef9720cbc83097e1078a86",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NickCao",
+ "ref": "matrix-synapse",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
"nixpkgs_2": {
"locked": {
"lastModified": 1673606088,
@@ -536,6 +552,7 @@
"nixos-mailserver": "nixos-mailserver",
"nixpkgs-2111": "nixpkgs-2111",
"nixpkgs-exotic": "nixpkgs-exotic",
+ "nixpkgs-synapse": "nixpkgs-synapse",
"sefidel-web": "sefidel-web",
"sops-nix": "sops-nix",
"unstable": "unstable",
diff --git a/flake.nix b/flake.nix
index e9f1a01..e106218 100644
--- a/flake.nix
+++ b/flake.nix
@@ -7,6 +7,7 @@
nixpkgs-2111.url = "github:nixos/nixpkgs/nixos-21.11";
nixpkgs-exotic.url = "git+https://git.exotic.sh/nixpkgs-exotic";
+ nixpkgs-synapse.url = "github:NickCao/nixpkgs/matrix-synapse";
colmena.url = "github:zhaofengli/colmena";
colmena.inputs.nixpkgs.follows = "unstable";
@@ -34,7 +35,13 @@
system = "x86_64-linux";
- pkgs = import unstable { inherit system; overlays = [ inputs.nixpkgs-exotic.overlays.default ]; };
+ pkgs = import unstable { inherit system; overlays = [
+ inputs.nixpkgs-exotic.overlays.default
+ (final: prev: {
+ # TODO: https://github.com/NixOS/nixpkgs/pull/293650
+ inherit (inputs.nixpkgs-synapse.legacyPackages.${system}) matrix-synapse;
+ })
+ ]; };
lib = unstable.lib.extend
(self: super: { my = import ./lib { inherit pkgs inputs; lib = self; }; });