forked from mirrors_public/oddlama_nix-config
chore: update flake
This commit is contained in:
parent
2fece6e5cc
commit
3906586a95
13 changed files with 162 additions and 1242 deletions
|
@ -1,27 +0,0 @@
|
|||
diff --git a/crates/jmap/src/api/management/domain.rs b/crates/jmap/src/api/management/domain.rs
|
||||
index e3890df5..7083aaf6 100644
|
||||
--- a/crates/jmap/src/api/management/domain.rs
|
||||
+++ b/crates/jmap/src/api/management/domain.rs
|
||||
@@ -123,6 +123,8 @@ impl JMAP {
|
||||
}
|
||||
|
||||
async fn build_dns_records(&self, domain_name: &str) -> trc::Result<Vec<DnsRecord>> {
|
||||
+ let signature_config = self.core.storage.config.build_config("signature").await?;
|
||||
+
|
||||
// Obtain server name
|
||||
let server_name = self
|
||||
.core
|
||||
@@ -143,7 +145,11 @@ impl JMAP {
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
- keys.insert(key, value);
|
||||
+ let val = signature_config.keys
|
||||
+ .get(&format!("signature.{key}"))
|
||||
+ .cloned()
|
||||
+ .unwrap_or(value.clone());
|
||||
+ keys.insert(key, val);
|
||||
}
|
||||
|
||||
// Add MX and CNAME records
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
globals,
|
||||
lib,
|
||||
|
@ -43,6 +44,7 @@ in {
|
|||
};
|
||||
|
||||
services.idmail = {
|
||||
package = inputs.idmail.packages."x86_64-linux".default;
|
||||
enable = true;
|
||||
# Stalwart will change permissions due to SQLite implementation.
|
||||
# Therefore, run as stalwart-mail since we don't allow reading
|
||||
|
|
|
@ -51,14 +51,6 @@ in {
|
|||
|
||||
services.stalwart-mail = {
|
||||
enable = true;
|
||||
package = pkgs.stalwart-mail.overrideAttrs (old: {
|
||||
patches =
|
||||
old.patches
|
||||
++ [
|
||||
./a.patch
|
||||
];
|
||||
doCheck = false;
|
||||
});
|
||||
settings = let
|
||||
case = field: check: value: data: {
|
||||
"if" = field;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue