diff options
author | EuAndreh <eu@euandre.org> | 2023-03-16 09:43:31 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-16 09:54:18 -0300 |
commit | fbb6b500ea981b3fe7603288f0496cc3333245bf (patch) | |
tree | 7316b708ab760148b9c798f906a582a79032800d /tests/internet-system.scm | |
parent | queue.scm: Use mkdir-p/perms vs mkdir-p+chown+chmod (diff) | |
download | package-repository-fbb6b500ea981b3fe7603288f0496cc3333245bf.tar.gz package-repository-fbb6b500ea981b3fe7603288f0496cc3333245bf.tar.xz |
queue.scm: Split postfix-service-type into {local,internet}-postfix-service-type
Also add those to `Makefile` as separate targets.
BONUS: better naming of Guix targets in `Makefile`. Instead of
`all-{packages,services}`, it is now `guix-{packages,services}`,
as there are other packages being built that do not belong to
Guix, and maybe more services in the future.
Diffstat (limited to 'tests/internet-system.scm')
-rw-r--r-- | tests/internet-system.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/internet-system.scm b/tests/internet-system.scm new file mode 100644 index 0000000..1267911 --- /dev/null +++ b/tests/internet-system.scm @@ -0,0 +1,33 @@ +(use-modules + ((org euandre queue) #:prefix queue:) + (gnu)) +(use-package-modules) +(use-service-modules + certbot + mail) + +(operating-system + (host-name "a-internet-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:internet-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))) |