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
|
||||||
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;
|
||||||
|
|
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