diff --git a/modules/nixos/base/i18n/default.nix b/modules/nixos/base/i18n/default.nix new file mode 100644 index 0000000..7c190fa --- /dev/null +++ b/modules/nixos/base/i18n/default.nix @@ -0,0 +1,11 @@ +_: { + time.timeZone = "America/Los_Angeles"; + i18n = { + defaultLocale = "en_US.UTF-8"; + + extraLocaleSettings = { + LC_MESSAGES = "en_US.UTF-8"; + LC_TIME = "de_DE.UTF-8"; + }; + }; +} diff --git a/systems/x86_64-linux/nyx/default.nix b/systems/x86_64-linux/nyx/default.nix index f362793..44962fd 100644 --- a/systems/x86_64-linux/nyx/default.nix +++ b/systems/x86_64-linux/nyx/default.nix @@ -14,22 +14,6 @@ in { networking.networkmanager.enable = true; - time.timeZone = "America/Los_Angeles"; - - i18n.defaultLocale = "en_US.UTF-8"; - - i18n.extraLocaleSettings = { - LC_ADDRESS = "en_US.UTF-8"; - LC_IDENTIFICATION = "en_US.UTF-8"; - LC_MEASUREMENT = "en_US.UTF-8"; - LC_MONETARY = "en_US.UTF-8"; - LC_NAME = "en_US.UTF-8"; - LC_NUMERIC = "en_US.UTF-8"; - LC_PAPER = "en_US.UTF-8"; - LC_TELEPHONE = "en_US.UTF-8"; - LC_TIME = "en_US.UTF-8"; - }; - hardware.pulseaudio.enable = false; security.rtkit.enable = true;