aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/internet-system.scm (renamed from tests/test-system.scm)11
-rw-r--r--tests/local-system.scm25
2 files changed, 29 insertions, 7 deletions
diff --git a/tests/test-system.scm b/tests/internet-system.scm
index d49541c..1267911 100644
--- a/tests/test-system.scm
+++ b/tests/internet-system.scm
@@ -1,16 +1,13 @@
(use-modules
((org euandre queue) #:prefix queue:)
(gnu))
-(use-package-modules
- ssh)
+(use-package-modules)
(use-service-modules
certbot
- mail
- networking
- ssh)
+ mail)
(operating-system
- (host-name "a-test-host")
+ (host-name "a-internet-test-host")
(services
(append
(list
@@ -18,7 +15,7 @@
(service queue:dkimproxyout-service-type)
(service queue:cyrus-sasl-service-type)
(service queue:dovecot2-service-type)
- (service queue:postfix-service-type)
+ (service queue:internet-postfix-service-type)
(service certbot-service-type (certbot-configuration))
(service mail-aliases-service-type '()))
%base-services))
diff --git a/tests/local-system.scm b/tests/local-system.scm
new file mode 100644
index 0000000..abf09a8
--- /dev/null
+++ b/tests/local-system.scm
@@ -0,0 +1,25 @@
+(use-modules
+ ((org euandre queue) #:prefix queue:)
+ (gnu))
+(use-package-modules)
+(use-service-modules)
+
+(operating-system
+ (host-name "a-local-test-host")
+ (services
+ (append
+ (list
+ (service queue:local-postfix-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)))