summaryrefslogtreecommitdiff
path: root/system-configuration.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 11:12:52 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 11:37:19 +0100
commit68d0eafa23e5f71517b06e83733a2e1059bb96a0 (patch)
treea0dd5c22e6876bfe6c0423e89e084c0e048f3759 /system-configuration.scm
parent27bc5c95ec276e2f9153d65456407d270b7a45ab (diff)
System configuration: break out packages
Diffstat (limited to 'system-configuration.scm')
-rw-r--r--system-configuration.scm19
1 files changed, 11 insertions, 8 deletions
diff --git a/system-configuration.scm b/system-configuration.scm
index a76279a..e13f2c1 100644
--- a/system-configuration.scm
+++ b/system-configuration.scm
@@ -48,19 +48,22 @@
(cons* marek
%base-user-accounts))
+(define packages
+ (append (map (compose list
+ specification->package+output)
+ '("guile-spec"
+ "netcat-openbsd"
+ "nss-certs"
+ "trezord"
+ "trezord-udev-rules"))
+ %base-packages))
+
(operating-system (locale locale)
(timezone timezone)
(keyboard-layout keyboard-layout)
(host-name host-name)
(users users)
- (packages (append (map (compose list
- specification->package+output)
- '("guile-spec"
- "netcat-openbsd"
- "nss-certs"
- "trezord"
- "trezord-udev-rules"))
- %base-packages))
+ (packages packages)
(services (append `(,(service cups-service-type
(cups-configuration (extensions `(,cups-filters
,epson-inkjet-printer-escpr))