diff options
| author | Evgenii Lepikhin <e.lepihin@postgrespro.ru> | 2024-04-03 11:44:50 +0300 |
|---|---|---|
| committer | Evgenii Lepikhin <e.lepihin@postgrespro.ru> | 2024-04-03 11:44:50 +0300 |
| commit | 23a782ad6d167fc8926d879aeaa393a5127a83eb (patch) | |
| tree | 7cc3734b308cf57c77de53cc0707390d4941e6aa | |
| parent | refactor: Run fstrim every 2 hours (diff) | |
| download | johnlepikhin-guix-channel-23a782ad6d167fc8926d879aeaa393a5127a83eb.tar.gz | |
feat: [WIP] Tunable authorized-keys and substitute-urls
| -rw-r--r-- | johnlepikhin/system/services.scm | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/johnlepikhin/system/services.scm b/johnlepikhin/system/services.scm index 59bffc9..bb8e911 100644 --- a/johnlepikhin/system/services.scm +++ b/johnlepikhin/system/services.scm @@ -82,7 +82,9 @@ host all all ::1/128 md5")) '(("work_mem" "500 MB") ("max_parallel_workers_per_gather" 6)))))))) -(define-public tuned-desktop-services +(define-public (tuned-desktop-services + #:key (authorized-keys '()) + #:key (substitute-urls '())) (cons* (modify-services %desktop-services @@ -106,9 +108,7 @@ host all all ::1/128 md5")) (discover? #t) (authorized-keys (append - (list - (plain-file "non-guix.pub" nonguix-signing-key) - (plain-file "bordeaux.guix.gnu.org.pub" bordeaux-signing-key)) + authorized-keys %default-authorized-guix-keys)))) (upower-service-type @@ -173,7 +173,16 @@ host all all ::1/128 md5")) (define* (make-system-services #:key - (zram-size "2G")) + (zram-size "2G") + #:key + (authorized-keys (list + (plain-file "non-guix.pub" nonguix-signing-key) + (plain-file "bordeaux.guix.gnu.org.pub" bordeaux-signing-key))) + #:key + (substitute-urls (list + "https://substitutes.nonguix.org" + "https://ci.guix.gnu.org" + "https://bordeaux.guix.gnu.org/"))) (cons* (set-xorg-configuration @@ -258,4 +267,6 @@ host all all ::1/128 md5")) ;; (service fprintd-service-type) - tuned-desktop-services)) + (tuned-desktop-services + #:authorized-keys authorized-keys + #:substitute-urls substitute-urls))) |
