summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2023-01-10 01:22:18 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2023-01-10 01:22:18 +0100
commit084423d5977cd059df1069515f6cc9f12bf14cb6 (patch)
treef3f06405ba81b161276175d4d9f31b1dc4526f00 /services
parent77d13f8e0ef05affcba528310d0bdbab6765f9dc (diff)
Refactor flashrom-service-type to flashrom-package
Diffstat (limited to 'services')
-rw-r--r--services/flashrom.scm21
1 files changed, 11 insertions, 10 deletions
diff --git a/services/flashrom.scm b/services/flashrom.scm
index 1e04373..97a5d17 100644
--- a/services/flashrom.scm
+++ b/services/flashrom.scm
@@ -4,13 +4,14 @@
#:use-module (gnu home services)
#:use-module (gnu home services shells))
-(define-public flashrom-service-type
- (service-type
- (name 'flashrom)
- (extensions
- `(,(service-extension home-profile-service-type
- (lambda (_)
- (map specification->package
- '("flashrom"))))))
- (description "Flashrom installation.")
- (default-value #f)))
+(define-public flashrom-package
+ (service
+ (service-type
+ (name 'flashrom-package)
+ (extensions
+ `(,(service-extension home-profile-service-type
+ (lambda (_)
+ (map specification->package
+ '("flashrom"))))))
+ (description "Flashrom installation.")
+ (default-value #f))))