summaryrefslogtreecommitdiff
path: root/system-configuration.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 16:33:58 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 16:33:58 +0100
commitf4f9e4c6f53ccb86dc102f7d8962e5422db7dadf (patch)
tree2ccc4e40640612b52305740c4c2cc9f0717faa94 /system-configuration.scm
parent5a7debc4f0de73fd10dc21bb320371741f45e350 (diff)
System configuration: break out services
Diffstat (limited to 'system-configuration.scm')
-rw-r--r--system-configuration.scm21
1 files changed, 12 insertions, 9 deletions
diff --git a/system-configuration.scm b/system-configuration.scm
index bc8ae76..006d633 100644
--- a/system-configuration.scm
+++ b/system-configuration.scm
@@ -67,21 +67,24 @@
(append system-packages'
%base-packages))
+(define services
+ (append `(,(service cups-service-type
+ (cups-configuration (extensions `(,cups-filters
+ ,epson-inkjet-printer-escpr))
+ (web-interface? #t)))
+ ,(service openssh-service-type)
+ ,(service gnome-desktop-service-type)
+ ,(service tor-service-type)
+ ,(set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))))
+ %desktop-services))
+
(operating-system (locale locale)
(timezone timezone)
(keyboard-layout keyboard-layout)
(host-name host-name)
(users users)
(packages packages)
- (services (append `(,(service cups-service-type
- (cups-configuration (extensions `(,cups-filters
- ,epson-inkjet-printer-escpr))
- (web-interface? #t)))
- ,(service openssh-service-type)
- ,(service gnome-desktop-service-type)
- ,(service tor-service-type)
- ,(set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))))
- %desktop-services))
+ (services services)
(bootloader (bootloader-configuration (bootloader grub-bootloader)
(targets '("/dev/sda"))
(keyboard-layout keyboard-layout)))