diff options
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | tests/test-system.scm | 36 |
2 files changed, 43 insertions, 1 deletions
@@ -6,11 +6,17 @@ TRANSLATIONS = pt fr eo es CONTRIBLANGS = -all: EuAndreh.key +all: EuAndreh.key all-packages all-services + + +all-packages: guix build -v3 -Lsrc/ -K \ -f src/org/euandre/packages.scm \ -f src/org/euandre/queue.scm \ +all-services: + guix system -v3 -Lsrc/ -K build tests/test-system.scm + refresh: sh scripts/paku -rg 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))) |