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,
lib,
config,
...
{ pkgs
, lib
, config
, ...
}:
{
imports = [
@ -13,6 +12,7 @@
./openwebui.nix
./acme.nix
./nginx.nix
./mail.nix
];
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;
}