add auto updater

This commit is contained in:
Abel Luck 2026-02-24 15:47:21 +01:00
parent eac7453a0d
commit b0eadea19e
17 changed files with 423 additions and 55 deletions

27
matrix-synapse@1.129.0/flake.lock generated Normal file
View file

@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1746770286,
"narHash": "sha256-Y9s4o1rQlKuaYj4YxKlP7E2/e+FZaV5IjbSxxnF/Nxo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "907e98d6cc08e3261b63e3f8d2831841817b0041",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "907e98d6cc08e3261b63e3f8d2831841817b0041",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View file

@ -0,0 +1,30 @@
{
description = "matrix-synapse 1.129.0";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/907e98d6cc08e3261b63e3f8d2831841817b0041";
outputs =
{ nixpkgs, ... }:
let
forAllSystems = nixpkgs.lib.genAttrs [
"x86_64-linux"
"aarch64-linux"
];
in
{
packages = forAllSystems (system: {
default = nixpkgs.legacyPackages.${system}.matrix-synapse;
matrix-synapse = nixpkgs.legacyPackages.${system}.matrix-synapse;
matrix-synapse-unwrapped = nixpkgs.legacyPackages.${system}.matrix-synapse-unwrapped;
});
overlays.default = _final: prev:
let
pinned = nixpkgs.legacyPackages.${prev.stdenv.hostPlatform.system};
in
{
matrix-synapse = pinned.matrix-synapse;
matrix-synapse-unwrapped = pinned.matrix-synapse-unwrapped;
};
};
}