summaryrefslogtreecommitdiff
path: root/system-configuration.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 18:26:42 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-10-31 18:26:42 +0100
commit1a331bd61a0f88a5ac79d8dc1f853739ba4b249b (patch)
tree46f45cc627086ddbd52e202bd93892ecf7e1ed19 /system-configuration.scm
parent62f5acc664ad60690c47d02ffda2335e58369745 (diff)
System configuration: break out bootloader
Diffstat (limited to 'system-configuration.scm')
-rw-r--r--system-configuration.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/system-configuration.scm b/system-configuration.scm
index 88f1d15..e65ddc0 100644
--- a/system-configuration.scm
+++ b/system-configuration.scm
@@ -102,6 +102,11 @@
(append system-services
%desktop-services))
+(define bootloader
+ (bootloader-configuration (bootloader grub-bootloader)
+ (targets '("/dev/sda"))
+ (keyboard-layout keyboard-layout)))
+
(operating-system (locale locale)
(timezone timezone)
(keyboard-layout keyboard-layout)
@@ -109,9 +114,7 @@
(users users)
(packages packages)
(services services)
- (bootloader (bootloader-configuration (bootloader grub-bootloader)
- (targets '("/dev/sda"))
- (keyboard-layout keyboard-layout)))
+ (bootloader bootloader)
(swap-devices `(,(swap-space (target (uuid "73bed3f9-be07-40ad-a228-577cd24f2e1d")))))
(mapped-devices `(,(mapped-device (source (uuid "887ac37f-2919-41a0-a62a-e1ff5ea2d6cc"))
(target "aisaka-root")