Set up a working conduwuit server #2
2 changed files with 17 additions and 4 deletions
15
nix.mod.nix
15
nix.mod.nix
|
@ -127,6 +127,12 @@ in {
|
|||
nix.settings.trusted-users = ["remote-builder"];
|
||||
}
|
||||
)
|
||||
{
|
||||
nix.settings = {
|
||||
substituters = ["https://cache.nixos.org?priority=3"];
|
||||
trusted-public-keys = ["cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="];
|
||||
};
|
||||
}
|
||||
(
|
||||
{
|
||||
config,
|
||||
|
@ -140,11 +146,18 @@ in {
|
|||
)
|
||||
{
|
||||
nix.settings = {
|
||||
substituters = ["https://cache.collective-conciousness.monster"];
|
||||
substituters = ["https://cache.collective-conciousness.monster?priority=1"];
|
||||
trusted-public-keys = ["adyya-flake:PAbC0hnAiNj/kHcm9wIykmKIf25FDeXB6JusqlX2ghs="];
|
||||
};
|
||||
}
|
||||
)
|
||||
{
|
||||
nix.settings = {
|
||||
# binary caches for conduwuit
|
||||
substituters = ["https://attic.kennel.juneis.dog/conduit?priority=5" "https://attic.kennel.juneis.dog/conduwuit?priority=7"];
|
||||
trusted-public-keys = ["conduit:eEKoUwlQGDdYmAI/Q/0slVlegqh/QmAvQd7HBSm21Wk=" "conduwuit:BbycGUgTISsltcmH0qNjFR9dbrQNYgdIAcmViSGoVTE="];
|
||||
};
|
||||
}
|
||||
];
|
||||
personal.modules = [
|
||||
{
|
||||
|
|
|
@ -13,12 +13,12 @@
|
|||
database_backend = "rocksdb";
|
||||
max_request_size = 1024 * 1024 * 1024;
|
||||
address = "127.0.0.1";
|
||||
port = "7893";
|
||||
database_path = "/var/services/conduwuit/";
|
||||
port = 7893;
|
||||
# database_path = lib.mkForce "/var/services/conduwuit/";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.conduit.serviceConfig.ExecStart = lib.mkForce (lib.getExe config.services.matrix-conduit.package); # wrong in nixpkgs
|
||||
})
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue