guix-config: Keep build deps with "guix gc"

master
Pierre Neidhardt 2018-07-30 11:02:39 +02:00
parent e8d6b34a40
commit de4c5c559d
1 changed files with 20 additions and 14 deletions

View File

@ -119,20 +119,26 @@
;; log-in service, networking with Wicd, and more. ;; log-in service, networking with Wicd, and more.
(define %my-services (define %my-services
(modify-services (modify-services
%desktop-services %desktop-services
(udev-service-type config => (guix-service-type config =>
(udev-configuration (guix-configuration
(inherit config) (inherit config)
(rules (append (udev-configuration-rules config) ;; Don't clean build deps.
(list ;; %nitrokey-udev-rule ;; See (info "(guix) Invoking guix-daemon").
%backlight-udev-rule))))) (extra-options '("--gc-keep-outputs"))))
(slim-service-type config => (udev-service-type config =>
(slim-configuration (udev-configuration
(inherit config) (inherit config)
(auto-login? #f) (rules (append (udev-configuration-rules config)
(startx (xorg-start-command #:modules my-xorg-modules)) (list ;; %nitrokey-udev-rule
;; TODO: Can't slim pre-fill the username? %backlight-udev-rule)))))
(default-user "ambrevar"))))) (slim-service-type config =>
(slim-configuration
(inherit config)
(auto-login? #f)
(startx (xorg-start-command #:modules my-xorg-modules))
;; TODO: Can't slim pre-fill the username?
(default-user "ambrevar")))))
(operating-system (operating-system
(host-name "mimimi") (host-name "mimimi")