diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-10-21 06:53:34 +0200 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-10-21 06:53:34 +0200 |
commit | 6c46dcc7b514ab20d2edd04bfa860a8ba7f01808 (patch) | |
tree | 5d205b43d5dde1b2f5612cd40dd3461165fb09b9 /services/nonguix | |
parent | 053308211e587dd3d59409f191c54642efd60c20 (diff) |
refactor(suweren): consolidate the configuration of guix in a single source
Diffstat (limited to 'services/nonguix')
-rw-r--r-- | services/nonguix/substitute.scm | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/services/nonguix/substitute.scm b/services/nonguix/substitute.scm deleted file mode 100644 index 4cf866a..0000000 --- a/services/nonguix/substitute.scm +++ /dev/null @@ -1,32 +0,0 @@ -(define-module (services nonguix substitute) - #:use-module (gnu services base) - #:use-module (guix gexp)) - -;; DATA - -(define nonguix-authorized-guix-key-content - (string-append "(public-key \n" - "(ecc \n" - "(curve Ed25519) \n" - "(q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#))) \n")) - -(define nonguix-authorized-guix-key-name - "nonguix-authorized-guix-key") - -(define nonguix-substitute-urls - (list "https://substitutes.nonguix.org")) - -;; ABSTRACTION 1 - -(define nonguix-authorized-guix-keys - (list (plain-file nonguix-authorized-guix-key-name - nonguix-authorized-guix-key-content))) - -;; PUBLIC - -(define-public (nonguix-substitute config) - (guix-configuration (inherit config) - (substitute-urls (append %default-substitute-urls - nonguix-substitute-urls)) - (authorized-keys (append %default-authorized-guix-keys - nonguix-authorized-guix-keys)))) |