aboutsummaryrefslogtreecommitdiff
path: root/tests/internet/system.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-17 07:04:22 -0300
committerEuAndreh <eu@euandre.org>2023-03-17 07:06:50 -0300
commit5b85b1368f81b7eed8efef9d07ae8c077bac73c4 (patch)
tree7f05cb1685896a7af1a78ee1196fc93aab6ef828 /tests/internet/system.scm
parentqueue.scm: Remove FIXME markers froom inside main.cf content (diff)
downloadpackage-repository-5b85b1368f81b7eed8efef9d07ae8c077bac73c4.tar.gz
package-repository-5b85b1368f81b7eed8efef9d07ae8c077bac73c4.tar.xz
Test for expected output of Postfix config files
Diffstat (limited to 'tests/internet/system.scm')
-rw-r--r--tests/internet/system.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/internet/system.scm b/tests/internet/system.scm
new file mode 100644
index 0000000..1267911
--- /dev/null
+++ b/tests/internet/system.scm
@@ -0,0 +1,33 @@
+(use-modules
+ ((org euandre queue) #:prefix queue:)
+ (gnu))
+(use-package-modules)
+(use-service-modules
+ certbot
+ mail)
+
+(operating-system
+ (host-name "a-internet-test-host")
+ (services
+ (append
+ (list
+ (service queue:shadow-group-service-type)
+ (service queue:dkimproxyout-service-type)
+ (service queue:cyrus-sasl-service-type)
+ (service queue:dovecot2-service-type)
+ (service queue:internet-postfix-service-type)
+ (service certbot-service-type (certbot-configuration))
+ (service mail-aliases-service-type '()))
+ %base-services))
+ (bootloader
+ (bootloader-configuration
+ (bootloader grub-bootloader)))
+ (file-systems
+ (append
+ (list
+ (file-system
+ (mount-point "/")
+ (type "btrfs")
+ (device
+ (uuid "2c66de32-dde7-ea35-750a-a1ca47a58d45" 'btrfs))))
+ %base-file-systems)))