From eedabb2b00b1f776eafee0cf4f079973d9892707 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 13 Mar 2023 14:50:07 -0300 Subject: Also build OS with services in "all" target --- tests/test-system.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 tests/test-system.scm (limited to 'tests') 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))) -- cgit v1.2.3