services: guix: Make /etc/guix/acl really declarative by default.
authorLudovic Courtès <ludo@gnu.org>
Wed, 21 Oct 2020 14:17:26 +0000 (16:17 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 24 Oct 2020 23:06:10 +0000 (01:06 +0200)
commit3b6e4e5fd05e72b8a32ff1a2d5e21464260e21e6
tree023dbe227eae82d4e01201478b577291e8780f0e
parente220b77828e9a4ccf5748771b6d61be7a3c84dae
services: guix: Make /etc/guix/acl really declarative by default.

Fixes <https://bugs.gnu.org/39819>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

* gnu/services/base.scm (substitute-key-authorization): Symlink
DEFAULT-ACL to /etc/guix/acl unconditionally.  Add code to optionally
back up /etc/guix/acl if it was possibly modified by hand.
* doc/guix.texi (Base Services): Clarify the effect of setting
'authorize-keys?' to true.  Mention the backup.  Give an example showing
how to authorize substitutes from another server.
doc/guix.texi
gnu/services/base.scm
gnu/services/virtualization.scm