Merge commit 'e00ae90fa5' into mailman

This commit is contained in:
Bereich Administration Rechentechnik 2025-04-04 20:37:50 +02:00
commit fbcf986a6f
3 changed files with 46 additions and 16 deletions

View file

@ -67,6 +67,35 @@
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
'';
services.nginx.virtualHosts."lists.htw.stura-dresden.de" = {
enableACME = true;
forceSSL = true;
# locations."/" = {
# proxyPass = "http://127.0.0.1:18507";
# };
};
services.mailman = {
enable = true;
hyperkitty = {
enable = true;
};
serve.enable=true;
webHosts = [
"lists.htw.stura-dresden.de"
];
};
services.postfix.config.relay_domains = [
"hash:/var/lib/mailman/data/postfix_domains"
];
services.postfix.config.transport_maps = [
"hash:/var/lib/mailman/data/postfix_lmtp"
];
services.postfix.config.local_recipient_maps = [
"hash:/var/lib/mailman/data/postfix_lmtp"
];
services.mailman.siteOwner = "mailman@htw.stura-dresden.de";
mailserver = {
enable = true;
fqdn = "mail.htw.stura-dresden.de";

29
flake.lock generated
View file

@ -12,11 +12,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1740601740,
"narHash": "sha256-YQ8lMeT/KkMDavXrqPvoO6pKQdfSSAZBcNp/Cer4vWc=",
"lastModified": 1743172544,
"narHash": "sha256-I6//hyls5T6Y93IgwbWn5izeT29o+yza4yRgBcmNars=",
"owner": "nix-community",
"repo": "authentik-nix",
"rev": "bfcad34becd76d148e1ad537b5dcbd58d858a5bb",
"rev": "b4916a86d4e650401e67dc03556eadb4a3cb248a",
"type": "github"
},
"original": {
@ -28,16 +28,16 @@
"authentik-src": {
"flake": false,
"locked": {
"lastModified": 1740599692,
"narHash": "sha256-KZalpsM9rvki9GD+urf8idHOEnvBJtkSvE1b2b4KL/4=",
"lastModified": 1743169792,
"narHash": "sha256-aaSAlFIc5Gn5PJPVuObi24Y86/3N3yFJVQTx1tV2i2A=",
"owner": "goauthentik",
"repo": "authentik",
"rev": "31fe0e59234e487a42012510d1a4e4819b9aba26",
"rev": "748a8e560f2eb93f7ec15d6762d4e5931fc1fa2a",
"type": "github"
},
"original": {
"owner": "goauthentik",
"ref": "version/2025.2.1",
"ref": "version/2025.2.3",
"repo": "authentik",
"type": "github"
}
@ -137,15 +137,16 @@
"nixpkgs-24_11": "nixpkgs-24_11"
},
"locked": {
"lastModified": 1740437053,
"narHash": "sha256-exPTta4qI1ka9sk+jPcLogGffJ1OVXnAsTRqpeAXeNw=",
"lastModified": 1734884447,
"narHash": "sha256-HA9fAmGNGf0cOYrhgoa+B6BxNVqGAYXfLyx8zIS0ZBY=",
"owner": "simple-nixos-mailserver",
"repo": "nixos-mailserver",
"rev": "c8ec4d5e432f5df4838eacd39c11828d23ce66ec",
"rev": "63209b1def2c9fc891ad271f474a3464a5833294",
"type": "gitlab"
},
"original": {
"owner": "simple-nixos-mailserver",
"ref": "nixos-24.11",
"repo": "nixos-mailserver",
"type": "gitlab"
}
@ -258,16 +259,16 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1741851582,
"narHash": "sha256-cPfs8qMccim2RBgtKGF+x9IBCduRvd/N5F4nYpU0TVE=",
"lastModified": 1743703532,
"narHash": "sha256-s1KLDALEeqy+ttrvqV3jx9mBZEvmthQErTVOAzbjHZs=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "6607cf789e541e7873d40d3a8f7815ea92204f32",
"rev": "bdb91860de2f719b57eef819b5617762f7120c70",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}

View file

@ -10,11 +10,11 @@
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
authentik = {
url = "github:nix-community/authentik-nix";
};
mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver";
mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.11";
};
outputs = { self, nixpkgs, authentik, mailserver }: {