aboutsummaryrefslogtreecommitdiff
path: root/tw/system.scm
diff options
context:
space:
mode:
authorTimo Wilken2024-03-27 17:03:29 -0500
committerTimo Wilken2024-03-27 17:03:29 -0500
commita56bdba05f21d75dc4b0fad74d3912c384d5c6c5 (patch)
treeb165d7518e01d651735e9d9acc47c1eaa3566493 /tw/system.scm
parentb992616be8836b5675e50c944b7eea451074ef20 (diff)
Configure channels through guix-configuration
In recent versions, it seems Guix silently overwrites any custom /etc/guix/channels.scm file, so configure channels though Guix' configuration.
Diffstat (limited to 'tw/system.scm')
-rw-r--r--tw/system.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/tw/system.scm b/tw/system.scm
index 4cbd6dda..45fe5745 100644
--- a/tw/system.scm
+++ b/tw/system.scm
@@ -364,6 +364,12 @@ ACTION!=\"remove\", SUBSYSTEM==\"leds\", GROUP=\"video\", MODE=\"0664\"
" --fstab --verbose"))))
(modify-services (append %system-channel-services %desktop-services)
+ (guix-service-type
+ config =>
+ (guix-configuration
+ (inherit config)
+ (channels %system-channels)))
+
;; Let sane find the airscan backend. ipp-usb needs to be running separately.
(sane-service-type _ => sane-backends/airscan)