anchor.diff:            The default locale.  It determines the language for program
             messages, the format for dates and times, sort order, and so on.
             It also determines the character set, such as UTF-8.
  +        '';
  +      };
  +
  +      extraLocaleSettings = mkOption {
  +        type = types.attrsOf types.str;
  +        default = {};
  +        example = { LC_MESSAGES = "en_US.UTF-8"; LC_TIME = "de_DE.UTF-8"; };
  +        description = ''
  +          A set of additional system-wide locale settings other than
  +          <literal>LANG</literal> which can be configured with
  +          <option>i18n.defaultLocale</option>.
           '';
         };
   
  
positive.code:         source = pkgs.writeText "locale.conf"
            ''
              LANG=${config.i18n.defaultLocale}
            '';
        };
  
  
negative.code:     environment.sessionVariables =
        { LANG = config.i18n.defaultLocale;
          LOCALE_ARCHIVE = "/run/current-system/sw/lib/locale/locale-archive";
        } // config.i18n.extraLocaleSettings;
  
      systemd.globalEnvironment = mkIf (config.i18n.supportedLocales != []) {
        LOCALE_ARCHIVE = "${config.i18n.glibcLocales}/lib/locale/locale-archive";
  