aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-system.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/test-system.scm b/tests/test-system.scm
new file mode 100644
index 0000000..d49541c
--- /dev/null
+++ b/tests/test-system.scm
@@ -0,0 +1,36 @@
+(use-modules
+ ((org euandre queue) #:prefix queue:)
+ (gnu))
+(use-package-modules
+ ssh)
+(use-service-modules
+ certbot
+ mail
+ networking
+ ssh)
+
+(operating-system
+ (host-name "a-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: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)))