diff options
author | EuAndreh <eu@euandre.org> | 2023-03-13 14:50:07 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-13 14:50:07 -0300 |
commit | eedabb2b00b1f776eafee0cf4f079973d9892707 (patch) | |
tree | 10341483798af62c8f5bc42908bcaf69310b198a | |
parent | rm -rf aux/ po/ (diff) | |
download | package-repository-eedabb2b00b1f776eafee0cf4f079973d9892707.tar.gz package-repository-eedabb2b00b1f776eafee0cf4f079973d9892707.tar.xz |
Also build OS with services in "all" target
-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))) |