diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-05-25 15:54:05 +0200 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-05-25 16:04:43 +0200 |
commit | a1871168985360932711076e1750015ad40eb47a (patch) | |
tree | 868df99f21e4b9d822a8acb38e3a12b275c56c1a | |
parent | 637bb1337f3b1df21951590594109afd2ce996ab (diff) |
use map to maintain package list in ayase operating-system
-rw-r--r-- | systems/ayase/system-configuration.scm | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/systems/ayase/system-configuration.scm b/systems/ayase/system-configuration.scm index 014274b..1f60d6f 100644 --- a/systems/ayase/system-configuration.scm +++ b/systems/ayase/system-configuration.scm @@ -14,6 +14,11 @@ (define locale "pl_PL.utf8") +(define package-specifications + (list "emacs" + "emacs-exwm" + "emacs-desktop-environment")) + (define timezone "Europe/Warsaw") @@ -60,9 +65,8 @@ (swap-space (target (uuid "cc6bbf7c-e42a-4ac3-a9ae-3b14d3b4b841")))) (define system-packages - (list (specification->package "emacs") - (specification->package "emacs-exwm") - (specification->package "emacs-desktop-environment"))) + (map specification->package + package-specifications)) (define system-services (list (service openssh-service-type) |