diff options
author | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-10-04 03:11:09 +0200 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2024-10-04 10:53:51 +0200 |
commit | d905a23aa83ece2dd4a9d8d411d518781e174f75 (patch) | |
tree | 5f6794756ba30fe151f5a4f62fb66fed24313dd9 /systems/ayase.scm | |
parent | 23cda000022202daf2fd5e2f963545c88608b5cd (diff) |
refactor(systems): transfer locale implementation to suweren module
Diffstat (limited to 'systems/ayase.scm')
-rw-r--r-- | systems/ayase.scm | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/systems/ayase.scm b/systems/ayase.scm index 9281f8d..49c6b95 100644 --- a/systems/ayase.scm +++ b/systems/ayase.scm @@ -14,9 +14,6 @@ "-swap" number))) -(define polish-locale-string - "pl_PL.utf8") - (define root-filesystem-uuid ((@ (gnu system file-systems) uuid) "615a98cd-a632-4ee5-a6f4-e5ebcaa6fb8c")) @@ -69,11 +66,6 @@ ((@ (gnu services) service) openssh-service-type)) -(define polish-locale - ((@ (gnu system locale) locale-definition) - (name polish-locale-string) - (source "pl_PL"))) - (define root-partition ((@ (gnu system file-systems) file-system) (mount-point "/") @@ -118,11 +110,6 @@ (list root-partition efi-partition))) -(define (locale-definitions) - (use-modules (gnu system locale)) - (append %default-locale-definitions - (list polish-locale))) - (define services (append (@ (suweren services) %distribution-services) (list (gc-workaround-service) @@ -151,7 +138,8 @@ (use-modules (nongnu packages linux) (nongnu system linux-initrd) (gnu system keyboard) - (suweren commons sudoers)) + (suweren commons sudoers) + (suweren system)) ((@ (gnu system) operating-system) (kernel linux) (bootloader (bootloader)) @@ -165,7 +153,7 @@ (users (users)) (timezone "Europe/Warsaw") (locale polish-locale-string) - (locale-definitions (locale-definitions)) + (locale-definitions %suweren-locale-definitions) (services services) (sudoers-file %sudoers-specification*))) |