forked from aylac.top/nixcfg
this repo has no description

become canadian

aylac.top 424dbb5c 03cace13

verified
Changed files
+26 -2
hosts
morgana
modules
flake
home
snippets
firefox-based
locale
en-ca
+1 -1
hosts/morgana/default.nix
···
imports = [
./home.nix
./secrets.nix
-
self.nixosModules.locale-en-gb
+
self.nixosModules.locale-en-ca
];
networking.hostName = "morgana";
+1
modules/flake/nixos.nix
···
nixosModules = {
hardware = ../hardware;
+
locale-en-ca = ../locale/en-ca;
locale-en-gb = ../locale/en-gb;
nixos = ../nixos;
snippets = ../snippets;
+1 -1
modules/home/snippets/firefox-based/default.nix
···
#nativeMessagingHosts = lib.optionals pkgs.stdenv.isLinux [pkgs.bitwarden-desktop];
languagePacks = [
-
"en-GB"
+
"en-CA"
"en"
"en-US"
];
+23
modules/locale/en-ca/default.nix
···
+
{
+
config,
+
lib,
+
...
+
}: {
+
config = {
+
i18n = {
+
defaultLocale = lib.mkDefault "en_CA.UTF-8";
+
+
extraLocaleSettings = {
+
LC_ADDRESS = config.i18n.defaultLocale;
+
LC_IDENTIFICATION = config.i18n.defaultLocale;
+
LC_MEASUREMENT = config.i18n.defaultLocale;
+
LC_MONETARY = config.i18n.defaultLocale;
+
LC_NAME = config.i18n.defaultLocale;
+
LC_NUMERIC = config.i18n.defaultLocale;
+
LC_PAPER = config.i18n.defaultLocale;
+
LC_TELEPHONE = config.i18n.defaultLocale;
+
LC_TIME = config.i18n.defaultLocale;
+
};
+
};
+
};
+
}