aboutsummaryrefslogtreecommitdiff
path: root/tests/local/system.scm
blob: 9f9a195716ce87ddd62c1fd7733e46458caefe5a (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
(use-modules
  ((org euandre queue) #:prefix q:)
  ((xyz euandreh heredoc) #:prefix heredoc:)
  (gnu))
(use-package-modules)
(use-service-modules)
(heredoc:enable-syntax)

(operating-system
  (host-name "a-local-test-host")
  (services
    (append
     (list
      (service q:local-postfix-service-type
        (q:postfix-configuration
          (main.cf-extra #"-
            smtp_sender_dependent_authentication = yes
            sender_dependent_relayhost_maps = hash:/var/lib/private/postfix/relayhosts-maps
            smtp_sasl_password_maps = hash:/var/lib/private/postfix/sasl-password
            smtp_sasl_auth_enable = yes
            smtp_sasl_security_options = noanonymous
            smtp_sasl_mechanism_filter = login, plain
            smtp_use_tls = yes
            smtp_tls_security_level = encrypt
            smtp_tls_note_starttls_offer = yes
            "#))))
     %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)))