Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fc219e621f | ||
![]() |
5de4a41ff5 | ||
![]() |
c1de446b7b | ||
![]() |
af20166717 |
7 changed files with 16 additions and 13 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -382,7 +382,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
|
checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "conduwuit"
|
name = "conduit"
|
||||||
version = "0.7.0-alpha+conduwuit-0.1.2"
|
version = "0.7.0-alpha+conduwuit-0.1.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"argon2",
|
"argon2",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "conduwuit"
|
name = "conduit"
|
||||||
description = "a cool fork of Conduit, a Matrix homeserver written in Rust"
|
description = "a cool fork of Conduit, a Matrix homeserver written in Rust"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
authors = ["strawberry <strawberry@puppygock.gay>", "timokoesters <timo@koesters.xyz>"]
|
authors = ["strawberry <strawberry@puppygock.gay>", "timokoesters <timo@koesters.xyz>"]
|
||||||
|
|
|
@ -12,7 +12,7 @@ if [ ! -z ${ATTIC_TOKEN+x} ]; then
|
||||||
|
|
||||||
nix run --inputs-from . attic -- login \
|
nix run --inputs-from . attic -- login \
|
||||||
conduit \
|
conduit \
|
||||||
https://nix.computer.surgery/conduit \
|
https://attic.kennel.girlcock.ceo/conduit \
|
||||||
"$ATTIC_TOKEN"
|
"$ATTIC_TOKEN"
|
||||||
|
|
||||||
push_args=(
|
push_args=(
|
||||||
|
|
|
@ -133,8 +133,8 @@ allow_registration = false
|
||||||
registration_token = "change this token for something specific to your server"
|
registration_token = "change this token for something specific to your server"
|
||||||
|
|
||||||
# controls whether federation is allowed or not
|
# controls whether federation is allowed or not
|
||||||
# defaults to false
|
# defaults to true
|
||||||
allow_federation = true
|
# allow_federation = true
|
||||||
|
|
||||||
# controls whether users are allowed to create rooms.
|
# controls whether users are allowed to create rooms.
|
||||||
# appservices and admins are always allowed to create rooms
|
# appservices and admins are always allowed to create rooms
|
||||||
|
|
12
flake.lock
generated
12
flake.lock
generated
|
@ -73,11 +73,11 @@
|
||||||
"rust-analyzer-src": "rust-analyzer-src"
|
"rust-analyzer-src": "rust-analyzer-src"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1706250153,
|
"lastModified": 1706336364,
|
||||||
"narHash": "sha256-OwEZ4UMLuz9fpH9ZbN7SSQvtDvUoj3RV32icp+8SIIc=",
|
"narHash": "sha256-mJ5i2YIVKv6jTN2+l3oOUUej2NUVjJX/H3bAq6019ks=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "fenix",
|
"repo": "fenix",
|
||||||
"rev": "6d85102211fa954ece0a8a898ed91b4866b62ce7",
|
"rev": "eb683549b7d76b12d1a009f888b91b70ed34485f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -211,11 +211,11 @@
|
||||||
"rust-analyzer-src": {
|
"rust-analyzer-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1706158176,
|
"lastModified": 1706295183,
|
||||||
"narHash": "sha256-qPiPcLBXU05j+Z2hCrtClJQfmrfSN/bUq2aODiCzde0=",
|
"narHash": "sha256-VSyMaUsXfjb31B8/uT5cM5qXC1VOHLVsCi/bQuo3O/g=",
|
||||||
"owner": "rust-lang",
|
"owner": "rust-lang",
|
||||||
"repo": "rust-analyzer",
|
"repo": "rust-analyzer",
|
||||||
"rev": "38f7a3498e0d5f0113294bbdc08f867cd527e65f",
|
"rev": "596e5c77cf5b2b660b3ac2ce732fa0596c246d9b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -176,7 +176,10 @@
|
||||||
mkOciImage = pkgs: package:
|
mkOciImage = pkgs: package:
|
||||||
pkgs.dockerTools.buildImage {
|
pkgs.dockerTools.buildImage {
|
||||||
name = package.pname;
|
name = package.pname;
|
||||||
tag = "latest";
|
tag = "main";
|
||||||
|
copyToRoot = [
|
||||||
|
pkgs.dockerTools.caCertificates
|
||||||
|
];
|
||||||
config = {
|
config = {
|
||||||
# Use the `tini` init system so that signals (e.g. ctrl+c/SIGINT)
|
# Use the `tini` init system so that signals (e.g. ctrl+c/SIGINT)
|
||||||
# are handled as expected
|
# are handled as expected
|
||||||
|
|
|
@ -57,7 +57,7 @@ pub struct Config {
|
||||||
pub registration_token: Option<String>,
|
pub registration_token: Option<String>,
|
||||||
#[serde(default = "true_fn")]
|
#[serde(default = "true_fn")]
|
||||||
pub allow_encryption: bool,
|
pub allow_encryption: bool,
|
||||||
#[serde(default)]
|
#[serde(default = "true_fn")]
|
||||||
pub allow_federation: bool,
|
pub allow_federation: bool,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub allow_public_room_directory_over_federation: bool,
|
pub allow_public_room_directory_over_federation: bool,
|
||||||
|
|
Reference in a new issue