summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoufic ar <contact@toufy.me>2026-07-08 23:45:47 +0300
committertoufic ar <contact@toufy.me>2026-07-08 23:45:47 +0300
commit9112c28fce631904959c6467321ddeddc03fb854 (patch)
tree4167dfc6c62e58050c3e3f24d5cc1ac9452a1049
parent5aad58a046c41f36a87808412df7fa8c52b0a3ae (diff)
downloadservers-9112c28fce631904959c6467321ddeddc03fb854.tar.gz
servers-9112c28fce631904959c6467321ddeddc03fb854.zip
upgrade to 26.05
-rw-r--r--aphrodite/mail/default.nix18
-rw-r--r--flake.lock40
-rw-r--r--flake.nix4
3 files changed, 33 insertions, 29 deletions
diff --git a/aphrodite/mail/default.nix b/aphrodite/mail/default.nix
index c12e79d..84adc8a 100644
--- a/aphrodite/mail/default.nix
+++ b/aphrodite/mail/default.nix
@@ -24,6 +24,10 @@ in {
systemDomain = domainFqdn;
systemName = domainFqdn;
systemContact = "postmaster@${domainFqdn}";
+ workarounds.all = true;
+ hierarchySeparator = "/";
+
+ x509.useACMEHost = config.mailserver.fqdn;
dmarcReporting.enable = true;
tlsrpt.enable = true;
@@ -34,27 +38,28 @@ in {
mailboxes = {
Archive = {
auto = "subscribe";
- specialUse = "Archive";
+ special_use = "\\Archive";
};
Drafts = {
auto = "subscribe";
- specialUse = "Drafts";
+ special_use = "\\Drafts";
};
Junk = {
auto = "subscribe";
- specialUse = "Junk";
+ special_use = "\\Junk";
};
Sent = {
auto = "subscribe";
- specialUse = "Sent";
+ special_use = "\\Sent";
};
Trash = {
auto = "subscribe";
- specialUse = "Trash";
+ fts_autoindex = false;
+ special_use = "\\Trash";
};
};
- loginAccounts =
+ accounts =
lib.mapAttrs (account: cfg: {
aliases = cfg.aliases;
aliasesRegexp = cfg.aliasesRegex;
@@ -63,7 +68,6 @@ in {
sendOnly = cfg.sendOnly;
})
config.customOps.mailAccounts;
- certificateScheme = "acme";
};
services.roundcube = {
diff --git a/flake.lock b/flake.lock
index 1b116d5..c552109 100644
--- a/flake.lock
+++ b/flake.lock
@@ -41,13 +41,13 @@
"locked": {
"lastModified": 1767039857,
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
- "owner": "edolstra",
+ "owner": "NixOS",
"repo": "flake-compat",
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
"type": "github"
},
"original": {
- "owner": "edolstra",
+ "owner": "NixOS",
"repo": "flake-compat",
"type": "github"
}
@@ -65,11 +65,11 @@
]
},
"locked": {
- "lastModified": 1772893680,
- "narHash": "sha256-JDqZMgxUTCq85ObSaFw0HhE+lvdOre1lx9iI6vYyOEs=",
+ "lastModified": 1778507602,
+ "narHash": "sha256-kTwur1wV+01SdqskVMSo6JMEpg71ps3HpbFY2GsflKs=",
"owner": "cachix",
"repo": "git-hooks.nix",
- "rev": "8baab586afc9c9b57645a734c820e4ac0a604af9",
+ "rev": "61ab0e80d9c7ab14c256b5b453d8b3fb0189ba0a",
"type": "github"
},
"original": {
@@ -137,32 +137,32 @@
},
"nixpkgs_2": {
"locked": {
- "lastModified": 1782847189,
- "narHash": "sha256-twXPFqFsrrY5r28Zh7Homgcp2gUMBgQ6WDS98Q/3xFI=",
+ "lastModified": 1783389287,
+ "narHash": "sha256-0xIy4dVLqq47rA+mRy0hXDfjhQd4E5PoIns/RmB7nR4=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "b6018f87da91d19d0ab4cf979885689b469cdd41",
+ "rev": "0ad6f47ea4fe188f4bc8f0380f93ae8523337c6c",
"type": "github"
},
"original": {
"owner": "nixos",
- "ref": "nixos-25.11",
+ "ref": "nixos-26.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
- "lastModified": 1773831496,
- "narHash": "sha256-JW2/QPyCVzmouqEp1H9kNa8JXd7xEhlam9sy3TYfhDY=",
+ "lastModified": 1779622335,
+ "narHash": "sha256-ViA62qtL5za7V3d5I8OA9q9JcFhsVAiL5jVHwEclWqk=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "826430a188181a750ffa5948daff334039c5d741",
+ "rev": "705e9929918b43bd7b715dc0a878ac870449bb03",
"type": "github"
},
"original": {
"owner": "NixOS",
- "ref": "nixos-25.11-small",
+ "ref": "nixos-26.05-small",
"repo": "nixpkgs",
"type": "github"
}
@@ -205,16 +205,16 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
- "lastModified": 1773912645,
- "narHash": "sha256-QHzRqq6gh+t3F/QU9DkP7X63dDDcuIQmaDz12p7ANTg=",
+ "lastModified": 1781301671,
+ "narHash": "sha256-rq6WOopxq3U2AGEWO80o9LIJDYcYIdgw6jyl+y+19w8=",
"owner": "simple-nixos-mailserver",
"repo": "nixos-mailserver",
- "rev": "25e6dbb8fca3b6e779c5a46fd03bd760b2165bb5",
+ "rev": "661ec59a97ccee13a63f79280b282eb6f7d3f817",
"type": "gitlab"
},
"original": {
"owner": "simple-nixos-mailserver",
- "ref": "nixos-25.11",
+ "ref": "nixos-26.05",
"repo": "nixos-mailserver",
"type": "gitlab"
}
@@ -226,11 +226,11 @@
]
},
"locked": {
- "lastModified": 1783104586,
- "narHash": "sha256-vSLKc7m34/g5xH4dwmNZSqxc5OcHeE3qiG3EIz6bJKs=",
+ "lastModified": 1783174389,
+ "narHash": "sha256-aCWC8ngycU7OdJrU2+Je3qf+1a2ykuBvpPhZT/9tXMc=",
"owner": "Mic92",
"repo": "sops-nix",
- "rev": "1ebd41717762d837d5115f7108522c29cdb00fbb",
+ "rev": "f1406619a3884cd5c47992a70b8b35c9c0fcb4c9",
"type": "github"
},
"original": {
diff --git a/flake.nix b/flake.nix
index a7941e7..55457ff 100644
--- a/flake.nix
+++ b/flake.nix
@@ -2,12 +2,12 @@
description = "toufy's server config";
inputs = {
- nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
+ nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
- simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-25.11";
+ simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-26.05";
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";