aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu installer substitutes)
  #:use-module (gnu installer utils)
  #:use-module (gnu services herd)
  #:export (enable-discovery
            disable-discovery))

(define (enable-discovery)
  (with-silent-shepherd
    (with-shepherd-action 'guix-daemon
        ('discover "on")
        result
      result)))

(define (disable-discovery)
  (with-silent-shepherd
    (with-shepherd-action 'guix-daemon
        ('discover "off")
        result
      result)))

;; Local Variables:
;; eval: (put 'with-silent-shepherd 'scheme-indent-function 0)
;; End:
tr>2021-05-07gnu: font-liberation: Update to 2.1.4....Tobias Geerinckx-Rice 2021-03-14gnu: font-libertinus: Update to 7.040....Lars-Dominik Braun 2021-03-14gnu: font-abattis-cantarell: Update to 0.301....Lars-Dominik Braun 2021-03-14gnu: font-ibm-plex: Update to 5.1.3....Lars-Dominik Braun 2021-03-06gnu: font-mononoki: Update to 1.3....Tobias Geerinckx-Rice 2021-03-06gnu: font-liberation: Remove sponsorship information from description....Tobias Geerinckx-Rice 2021-03-06gnu: font-liberation: Update to 2.1.3....Tobias Geerinckx-Rice 2021-03-02gnu: font-gnu-unifont: Update to 13.0.06....Efraim Flashner 2021-02-15gnu: font-dseg: Update to 0.46....Tobias Geerinckx-Rice 2021-02-13gnu: Add font-canada1500....Antoine Côté 2021-02-11gnu: Add font-cozette....Julien Lepiller 2021-02-02gnu: font-juliamono: Update to 0.031....nixo 2021-02-02gnu: Add font-space-grotesk....Antoine Côté 2021-02-02gnu: Add font-fira-go....Antoine Côté 2021-01-02gnu: font-jetbrains-mono: Update to 2.221....Tobias Geerinckx-Rice 2021-01-02gnu: font-liberation: Update to 2.1.2....Tobias Geerinckx-Rice 2021-01-02gnu: font-gnu-unifont: Update to 13.0.05....Tobias Geerinckx-Rice 2020-12-17Revert "gnu: font-google-roboto: Update to 2.138."...Leo Famulari 2020-12-17gnu: font-fira-code: Update to 5.2....Nicolas Goaziou 2020-12-17gnu: font-google-roboto: Update to 2.138....Nicolas Goaziou 2020-12-17gnu: Add font-iosevka-curly....Nicolas Goaziou 2020-12-17gnu: Add font-iosevka-curly-slab....Nicolas Goaziou 2020-12-17gnu: Iosevka fonts: Update to 4.0.3....Nicolas Goaziou 2020-11-25gnu: font-gnu-unifont: Always download source over HTTPS....Tobias Geerinckx-Rice 2020-11-25gnu: font-gnu-unifont: Update to 13.0.04....Tobias Geerinckx-Rice 2020-11-15gnu: font-jetbrains-mono: Update to 2.210....Tobias Geerinckx-Rice 2020-11-05gnu: Add font-juliamono....nixo 2020-10-31gnu: Add font-openmoji...nixo