From c1ccf3485e4feed317a6281f613f567c6a9b6b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sat, 8 Mar 2025 03:34:57 +0100 Subject: [PATCH] Add nb_NO locale. Set LC_TIME to nb_NO --- system/default.nix | 1 + system/locale.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 system/locale.nix diff --git a/system/default.nix b/system/default.nix index cc71da1..3023bca 100644 --- a/system/default.nix +++ b/system/default.nix @@ -6,6 +6,7 @@ ./git.nix ./greetd.nix ./libvirt.nix + ./locale.nix ./podman.nix ./security.nix ./services.nix diff --git a/system/locale.nix b/system/locale.nix new file mode 100644 index 0000000..ce17737 --- /dev/null +++ b/system/locale.nix @@ -0,0 +1,12 @@ +{ ... }: +{ + i18n = { + supportedLocales = [ + "en_US.UTF-8/UTF-8" + "nb_NO.UTF-8/UTF-8" + ]; + extraLocaleSettings = { + LC_TIME = "nb_NO.UTF-8"; + }; + }; +}