summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 02:06:48 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 02:06:48 +0100
commit2567d4f8e1312da148e4a3b11268ef8a41748593 (patch)
treebf250f23f5d39fb30fdae42d82453b5f1d383b1e
parent24ad5177e8029c0c0d463c9554f15f1f44fd9d82 (diff)
Home configuration: break out list-to-package-output
-rw-r--r--home-configuration.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/home-configuration.scm b/home-configuration.scm
index fad87b7..c68f95a 100644
--- a/home-configuration.scm
+++ b/home-configuration.scm
@@ -6,6 +6,10 @@
#:use-module (gnu services)
#:use-module (guix gexp))
+(define list-to-package-output
+ (compose list
+ specification->package+output))
+
(define packages
'("cpupower"
"dconf-editor"
@@ -33,8 +37,7 @@
"zip"))
(define home-packages
- (map (compose list
- specification->package+output)
+ (map list-to-package-output
packages))
(define config-prefix