diff options
author | Pjotr Prins | 2023-05-27 10:58:45 -0500 |
---|---|---|
committer | Pjotr Prins | 2023-07-10 00:48:05 -0500 |
commit | 252d3fd72c61bde40872ef12138346571ed88b57 (patch) | |
tree | 4c3f91e2ea2b563df94931512294770a4fcfc24b /services/opensmtpd.scm | |
parent | 2ef9cebfa7daaf79ccd1d3a336d19da78af83256 (diff) | |
download | gn-machines-252d3fd72c61bde40872ef12138346571ed88b57.tar.gz |
Basic mail/opensmtpd service added
Diffstat (limited to 'services/opensmtpd.scm')
-rw-r--r-- | services/opensmtpd.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/services/opensmtpd.scm b/services/opensmtpd.scm new file mode 100644 index 0000000..1b1e58f --- /dev/null +++ b/services/opensmtpd.scm @@ -0,0 +1,21 @@ +(use-modules (gnu) + (gnu services mail)) + +(operating-system + (host-name "mail") + (timezone "UTC") + (locale "en_US.utf8") + (bootloader (bootloader-configuration + (bootloader grub-bootloader) + (targets (list "/dev/sdX")))) + (file-systems %base-file-systems) + (users %base-user-accounts) + (packages %base-packages) + + (services (cons + (service opensmtpd-service-type + (opensmtpd-configuration + (config-file %default-opensmtpd-config-file + ; (config-file (local-file "./my-smtpd.conf"))) + ))) + %base-services))) |