HASH 4f1b265bf5ac
DATE 2025-04-17
SUBJECT darwin: move invalid locale settings to nixos
FILES 2 CHANGED
HASH 4f1b265bf5ac
DATE 2025-04-17
SUBJECT darwin: move invalid locale settings
to nixos
FILES 2 CHANGED
┌─ modules/common/base/locale.nix ───────────────────────────────────────────┐
│ diff --git a/modules/common/base/locale.nix b/modules/common/base/locale.nix │
│ index c295ac7..5c1e2dd 100644 │
│ --- a/modules/common/base/locale.nix │
│ +++ b/modules/common/base/locale.nix │
│ @@ -1,14 +1,3 @@ │
│ { │
│ - pkgs, │
│ - lib, │
│ - ... │
│ -}: let │
│ - inherit (pkgs.stdenv) isLinux; │
│ - inherit (lib) mkIf; │
│ -in { │
│ time.timeZone = "Antarctica/Macquarie"; │
│ - i18n = mkIf isLinux { │
│ - defaultLocale = "en_US.UTF-8"; │
│ - supportedLocales = ["en_US.UTF-8/UTF-8"]; │
│ - }; │
│ } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ modules/common/base/locale.nix ─────┐
│ diff --git a/modules/common/base/locale.nix │
│ b/modules/common/base/locale.nix │
│ index c295ac7..5c1e2dd 100644 │
│ --- a/modules/common/base/locale.nix │
│ +++ b/modules/common/base/locale.nix │
│ @@ -1,14 +1,3 @@ │
│ { │
│ - pkgs, │
│ - lib, │
│ - ... │
│ -}: let │
│ - inherit (pkgs.stdenv) isLinux; │
│ - inherit (lib) mkIf; │
│ -in { │
│ time.timeZone = "Antarctica/Macquarie"; │
│ - i18n = mkIf isLinux { │
│ - defaultLocale = "en_US.UTF-8"; │
│ - supportedLocales = ["en_US.UTF-8/UTF-8" │
│ ]; │
│ - }; │
│ } │
└──────────────────────────────────────────────┘
┌─ modules/nixos/base/locale.nix ────────────────────────────────────────────┐
│ diff --git a/modules/nixos/base/locale.nix b/modules/nixos/base/locale.nix │
│ new file mode 100644 │
│ index 0000000..ee3571f │
│ --- /dev/null │
│ +++ b/modules/nixos/base/locale.nix │
│ @@ -0,0 +1,6 @@ │
│ +{ │
│ + i18n = { │
│ + defaultLocale = "en_US.UTF-8"; │
│ + supportedLocales = ["en_US.UTF-8/UTF-8"]; │
│ + }; │
│ +} │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ modules/nixos/base/locale.nix ──────┐
│ diff --git a/modules/nixos/base/locale.nix b │
│ /modules/nixos/base/locale.nix │
│ new file mode 100644 │
│ index 0000000..ee3571f │
│ --- /dev/null │
│ +++ b/modules/nixos/base/locale.nix │
│ @@ -0,0 +1,6 @@ │
│ +{ │
│ + i18n = { │
│ + defaultLocale = "en_US.UTF-8"; │
│ + supportedLocales = ["en_US.UTF-8/UTF-8" │
│ ]; │
│ + }; │
│ +} │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET