diff options
author | Linnnus <[email protected]> | 2024-12-29 10:47:03 +0000 |
---|---|---|
committer | Linnnus <[email protected]> | 2025-01-27 19:48:53 +0000 |
commit | 466751719ca5103d93b3a96fa40a68b8819fe1e7 (patch) | |
tree | b456cb391d3f77e47b6e340ca95ae7cfb34f4558 | |
parent | 599901fdb3531c73cbe1cb7d11eb0eb6c8c72de2 (diff) |
hosts/omar: Add danish l18n settings
-rw-r--r-- | hosts/omar/configuration.nix | 1 | ||||
-rw-r--r-- | shared/nixos/danish/default.nix | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/hosts/omar/configuration.nix b/hosts/omar/configuration.nix index 039316c..7007d13 100644 --- a/hosts/omar/configuration.nix +++ b/hosts/omar/configuration.nix @@ -13,6 +13,7 @@ ../../shared/nixos-and-darwin/common-hm-settings ../../shared/nixos/zfs-impermenance ../../shared/nixos/persist-ssh-host-keys + ../../shared/nixos/danish ./wireless-networking ./desktop-environment diff --git a/shared/nixos/danish/default.nix b/shared/nixos/danish/default.nix new file mode 100644 index 0000000..b8a33ed --- /dev/null +++ b/shared/nixos/danish/default.nix @@ -0,0 +1,10 @@ +# This module should be imported on Danish hosts. + +{lib, ...}: + +{ + i18n.defaultLocale = "da_DK.UTF-8"; + + # Allow indirect overwriting via `console.useXkbConfig`. + console.keyMap = lib.mkDefault "dk"; +} |