about summary refs log tree commit diff
path: root/gn/deploy/machines.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gn/deploy/machines.scm')
-rw-r--r--gn/deploy/machines.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gn/deploy/machines.scm b/gn/deploy/machines.scm
index 9d7be62..b54f2f1 100644
--- a/gn/deploy/machines.scm
+++ b/gn/deploy/machines.scm
@@ -5,6 +5,7 @@
   #:use-module (guix packages)
   #:use-module (guix utils)
   #:use-module (guix download)
+  #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system cmake)
@@ -53,6 +54,9 @@
                                         ; (copy-recursively nginx-etc target)
             (copy-file (string-append nginx-etc "/nginx.conf")
                        (string-append target "/nginx.conf"))
+            (plain-file "sudoers" "\
+root ALL=(ALL) ALL
+%wheel ALL=(ALL) ALL\n")
             #t))))
      (home-page "http://git.genenetwork.org/pjotrp/guix-bioinformatics")
      (synopsis "Nginx configuration")