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:
parent
4969715aa2
commit
018b25ac12
|
@ -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;
|
||||
|
|
8
systems/x86_64-linux/sgx/mail.nix
Normal file
8
systems/x86_64-linux/sgx/mail.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
mailutils
|
||||
mutt
|
||||
];
|
||||
services.postfix.enable = true;
|
||||
}
|
Loading…
Reference in a new issue