Whitespace and line length fixes

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2023-10-02 21:25:04 +02:00
parent b4eb83df6e
commit bee3614a59
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 9 additions and 8 deletions

View File

@ -192,13 +192,13 @@ https://DOMAIN/
(addresses (list (network-address (addresses (list (network-address
(device "eth0") (device "eth0")
(value "VM_IPV4_ADDRESS")) (value "VM_IPV4_ADDRESS"))
(network-address (network-address
(device "eth0") (device "eth0")
(value "VM_IPV6_ADDRESS")))) (value "VM_IPV6_ADDRESS"))))
(routes (list (network-route (routes (list (network-route
(destination "default") (destination "default")
(gateway "VM_IPV4_GATEWAY")) (gateway "VM_IPV4_GATEWAY"))
(network-route (network-route
(destination "default") (destination "default")
(gateway "VM_IPV6_GATEWAY")))) (gateway "VM_IPV6_GATEWAY"))))
(name-servers (list "VM_IPV4_DNS" "VM_IPV6_DNS"))))) (name-servers (list "VM_IPV4_DNS" "VM_IPV6_DNS")))))
@ -238,12 +238,12 @@ https://DOMAIN/
;; Unattended Upgrades ;; Unattended Upgrades
(service unattended-upgrade-service-type)) (service unattended-upgrade-service-type))
(if enable-wireguard? (if enable-wireguard?
(list (list
(service wireguard-service-type (service wireguard-service-type
(wireguard-configuration (wireguard-configuration
(addresses '("79.143.250.36/32" "2001:678:938:3ff::36/128")) (addresses '("79.143.250.36/32" "2001:678:938:3ff::36/128"))
(dns '("79.143.250.1" "79.143.250.2" (dns '("79.143.250.1" "79.143.250.2"
"2001:678:938::53:1" "2001:678:938::53:2")) "2001:678:938::53:1" "2001:678:938::53:2"))
(port 0) (port 0)
(post-up %wireguard-post-up) (post-up %wireguard-post-up)
(private-key (local-file "id_wireguard")) (private-key (local-file "id_wireguard"))
@ -252,9 +252,10 @@ https://DOMAIN/
(wireguard-peer (wireguard-peer
(name "stephanie.franciliens.net") (name "stephanie.franciliens.net")
(endpoint "stephanie.franciliens.net:51820") (endpoint "stephanie.franciliens.net:51820")
(public-key "Ybfh3twyBpj7wx/lo9AVBsBKNAUMSQqAWWV0LfywSDI=") (public-key
"Ybfh3twyBpj7wx/lo9AVBsBKNAUMSQqAWWV0LfywSDI=")
(allowed-ips '("0.0.0.0/0" "::/0")))))))) (allowed-ips '("0.0.0.0/0" "::/0"))))))))
(list )) (list ))
(modify-services (modify-services
%base-services %base-services
(guix-service-type config => (guix-configuration (guix-service-type config => (guix-configuration