diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-06-06 16:06:05 +0200 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-06-06 16:27:17 +0200 |
commit | 5aa3b0747c3676cc675bd0794da959a82a932d83 (patch) | |
tree | a514f43ddb6f8fe1af1e55d0ca2f43309470b264 /suweren/services.scm | |
parent | 6723d1af87d005077c037b471a0254dce7176486 (diff) |
add options to guix daemon to keep derivations and outputs
Diffstat (limited to 'suweren/services.scm')
-rw-r--r-- | suweren/services.scm | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/suweren/services.scm b/suweren/services.scm index be06206..1fc9985 100644 --- a/suweren/services.scm +++ b/suweren/services.scm @@ -9,15 +9,24 @@ #:use-module (services plasma-desktop) #:use-module (upstream services nbfc)) +(define (guix-options configuration-record) + (let ((extra-options (list "--gc-keep-derivations=yes" + "--gc-keep-outputs=yes"))) + (guix-configuration (inherit configuration-record) + (extra-options extra-options)))) + (define-public %distribution-services (let* ((%desktop-services* (modify-services %desktop-services (delete pulseaudio-service-type) - (guix-service-type config + (guix-service-type configuration + => + (guix-options configuration)) + (guix-service-type configuration => - (channels config)) - (guix-service-type config + (channels configuration)) + (guix-service-type configuration => - (nonguix-substitute config)))) + (nonguix-substitute configuration)))) (nbfc-service (service nbfc-service-type (nbfc-configuration (model "Acer Nitro AN515-43"))))) (append %desktop-services* |