summaryrefslogtreecommitdiffstats
path: root/ftp.replicant.us.scm
diff options
context:
space:
mode:
Diffstat (limited to 'ftp.replicant.us.scm')
-rw-r--r--ftp.replicant.us.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftp.replicant.us.scm b/ftp.replicant.us.scm
index ed7a7f4..459979a 100644
--- a/ftp.replicant.us.scm
+++ b/ftp.replicant.us.scm
@@ -1,16 +1,13 @@
;; TODO before migration
;; - Change the IP address
;; - Change the domain name with the certificates
-;; TODO to be useful:
-;; - Switch to NginX
-;; - Certificates
;; TODO after:
;; - rsync from osuosl
;; - rsync service
(use-modules (gnu))
(use-service-modules certbot networking ssh web)
-(use-package-modules admin base emacs rsync screen version-control vim web)
+(use-package-modules admin base emacs rsync screen tls version-control vim web)
;; Variables specific to the vm
;; Change them when deploying this configuration in production
@@ -65,6 +62,7 @@
(packages
(append
(list (specification->package "nss-certs")
+ certbot
emacs-no-x
git
htop
@@ -109,6 +107,7 @@
(service certbot-service-type
(certbot-configuration
(email "contact@replicant.us")
+ (default-location #f)
;; /!\ When deploying rsync, Only act as an rsync master
;; and not client, else any person controlling the server
;; from which we rsync may be able to get certificates issues
@@ -119,6 +118,7 @@
(certificate-configuration
(domains `((unquote %vm-domain-name)))
(deploy-hook %nginx-deploy-hook)
+ (challenge #f)
)
)
)