feat(sgx): add mail utilities and enable postfix

Introduce `mail.nix` to configure mail utilities (`mailutils`, `mutt`) and enable Postfix service. Updated `default.nix` to include the new configuration file.
This commit is contained in:
Harald Hoyer 2025-05-21 08:30:39 +02:00
parent 4969715aa2
commit 018b25ac12
2 changed files with 13 additions and 5 deletions

View file

@ -1,8 +1,7 @@
{ { pkgs
pkgs, , lib
lib, , config
config, , ...
...
}: }:
{ {
imports = [ imports = [
@ -13,6 +12,7 @@
./openwebui.nix ./openwebui.nix
./acme.nix ./acme.nix
./nginx.nix ./nginx.nix
./mail.nix
]; ];
sops.secrets.pccs.sopsFile = ../../../.secrets/sgx/pccs.yaml; sops.secrets.pccs.sopsFile = ../../../.secrets/sgx/pccs.yaml;

View file

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
mailutils
mutt
];
services.postfix.enable = true;
}