Temporarily push conduit to 0.4.0
This commit is contained in:
parent
20fa17d09c
commit
53a04459c2
|
@ -8,6 +8,11 @@ with lib;
|
||||||
options.cloud.conduit = {
|
options.cloud.conduit = {
|
||||||
enable = mkEnableOption "Enable the conduit server";
|
enable = mkEnableOption "Enable the conduit server";
|
||||||
|
|
||||||
|
package = mkOption {
|
||||||
|
type = types.package;
|
||||||
|
default = pkgs.matrix-conduit;
|
||||||
|
};
|
||||||
|
|
||||||
host = mkOption {
|
host = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "m.nkagami.me";
|
default = "m.nkagami.me";
|
||||||
|
@ -30,6 +35,7 @@ with lib;
|
||||||
};
|
};
|
||||||
|
|
||||||
config.services.matrix-conduit = mkIf cfg.enable {
|
config.services.matrix-conduit = mkIf cfg.enable {
|
||||||
|
inherit (cfg) package;
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings.global = {
|
settings.global = {
|
||||||
|
|
|
@ -58,6 +58,22 @@
|
||||||
};
|
};
|
||||||
cloud.traefik.certsDumper.enable = true;
|
cloud.traefik.certsDumper.enable = true;
|
||||||
cloud.conduit.enable = true;
|
cloud.conduit.enable = true;
|
||||||
|
cloud.conduit.package = pkgs.matrix-conduit.overrideAttrs (old: rec {
|
||||||
|
version = "0.4.0";
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitLab {
|
||||||
|
owner = "famedly";
|
||||||
|
repo = "conduit";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-QTXDIvGz12ZxsWmPiMiJ8mBUWoJ2wnaeTZdXcwBh35o=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoDeps = old.cargoDeps.overrideAttrs (_old: {
|
||||||
|
inherit src version;
|
||||||
|
outputHash = "sha256-tILjIR3rFDfq5aMblGE/vikttXbX7qQ2W7e017knntw=";
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
# Navidrome back to the PC
|
# Navidrome back to the PC
|
||||||
cloud.traefik.hosts.navidrome = {
|
cloud.traefik.hosts.navidrome = {
|
||||||
|
|
Loading…
Reference in a new issue