aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/opensmtpd.scm21
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)))