summaryrefslogtreecommitdiff
path: root/systems/ayase.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-09-27 18:27:30 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-09-27 18:27:30 +0200
commitb253ff2e2eb344b786417453e092ce3813ce4958 (patch)
treef5faed4ce42f9f94ece499dbb6fed77dc64ee834 /systems/ayase.scm
parent54b07af3f3eb6b5a38a2cc0bdffd21fad1d61aef (diff)
fix(ayase): solve the locale problem
Diffstat (limited to 'systems/ayase.scm')
-rw-r--r--systems/ayase.scm18
1 files changed, 13 insertions, 5 deletions
diff --git a/systems/ayase.scm b/systems/ayase.scm
index 6eb698a..62c5f35 100644
--- a/systems/ayase.scm
+++ b/systems/ayase.scm
@@ -77,7 +77,6 @@
(define swap-2
(swap-space (target (swap-label "-2"))))
-;; (list #<service>)
(define system-services
(list (service libvirt-service-type)
(service openssh-service-type)
@@ -89,15 +88,18 @@
ruby))
(simple-service 'system-packages
profile-service-type
- (list glibc-locales
- gnome-boxes
+ (list gnome-boxes
kgpg
pinentry-qt
pinentry-tty))))
;;;
-;; (list #<service>)
+(define polish-locale
+ ((@ (gnu system locale) locale-definition)
+ (name "pl_PL.utf8")
+ (source "pl_PL")))
+
(define services
(append %distribution-services
(list home-services)
@@ -114,6 +116,11 @@
(append %base-user-accounts
(list uid1000-account)))
+(define (locale-definitions)
+ (use-modules (gnu system locale))
+ (append %default-locale-definitions
+ (list polish-locale)))
+
;;;
;; #<operating-system>
@@ -153,7 +160,8 @@
(swap-devices swap-devices)
(users (users))
(timezone "Europe/Warsaw")
- ;; (locale "en_US.utf8")
+ (locale "pl_PL.utf8")
+ (locale-definitions (locale-definitions))
(services services)
(sudoers-file %sudoers-specification*))))