summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-06-28 17:35:34 +0200
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-06-28 17:35:34 +0200
commit1328171bf00f04e1c0e0eafc9688877a99e110cc (patch)
tree3a339434ea5259c5c7af4ea0e0a8673127f87dcb
parentb5d3c79cdd4dac42e6ef34d5076c7a2d2a6b8408 (diff)
Flatten some configuration
-rw-r--r--system-configuration.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/system-configuration.scm b/system-configuration.scm
index a367f93..f27d047 100644
--- a/system-configuration.scm
+++ b/system-configuration.scm
@@ -11,13 +11,9 @@
ssh
xorg )
-( operating-system
- ( locale "pl_PL.utf8" )
- ( timezone "Europe/Warsaw" )
- ( keyboard-layout
- ( keyboard-layout "pl" ) )
- ( host-name "aisaka" )
- ( users
+( define keyboard-layouts ( keyboard-layout "pl" ) )
+
+( define user-accounts
( cons*
( user-account
( name "marek" )
@@ -30,6 +26,13 @@
"audio"
"video" ) ) )
%base-user-accounts ) )
+
+( operating-system
+ ( locale "pl_PL.utf8" )
+ ( timezone "Europe/Warsaw" )
+ ( keyboard-layout keyboard-layouts )
+ ( host-name "aisaka" )
+ ( users user-accounts )
( packages
( append
( map