diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2023-02-03 20:00:46 +0100 |
---|---|---|
committer | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2023-02-03 20:25:04 +0100 |
commit | b51aa15c6399c058d82c6af5c3a5886622cab371 (patch) | |
tree | d08c500d8457ee288ed77525e1ff508c719871e3 /system-configuration.scm | |
parent | 8502f83312580ebb56e82a1235a50f46fd1e4f06 (diff) |
Transfer Trezord Packages to a Service
Diffstat (limited to 'system-configuration.scm')
-rw-r--r-- | system-configuration.scm | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/system-configuration.scm b/system-configuration.scm index eb0d170..25606c8 100644 --- a/system-configuration.scm +++ b/system-configuration.scm @@ -37,11 +37,22 @@ specification->package+output) '("netcat-openbsd" "nss-certs" - "ntfs-3g" - "trezord" - "trezord-udev-rules")) + "ntfs-3g")) %base-packages)) (services (cons* ssh-service + (service + (service-type + (name 'trezor-system-packages) + (extensions + (list + (service-extension profile-service-type + (lambda (_) + (map specification->package + (list + "trezord" + "trezord-udev-rules")))))) + (description "TrezorD packages needed by the system.") + (default-value #f))) (service cups-service-type (cups-configuration (extensions `(,cups-filters ,epson-inkjet-printer-escpr)) |