24 lines
651 B
Nix
24 lines
651 B
Nix
{ modulesPath, config, lib, pkgs, ... }: {
|
|
disabledModules = map (path: modulesPath + path) [
|
|
"/config/ldso.nix"
|
|
"/config/stub-ld.nix"
|
|
"/programs/nix-ld.nix"
|
|
];
|
|
|
|
config = {
|
|
i18n.glibcLocales = pkgs.stdenvNoCC.mkDerivation {
|
|
pname = "locale-archive-stub";
|
|
version = "0";
|
|
|
|
buildCommand = ''
|
|
mkdir -p "$out/lib/locale"
|
|
touch "$out/lib/locale/locale-archive"
|
|
'';
|
|
} |> lib.mkDefault;
|
|
|
|
i18n.supportedLocales = lib.mkDefault [ ];
|
|
security.pam.services.login.updateWtmp = lib.mkForce false;
|
|
services.nscd.enable = lib.mkForce false;
|
|
system.nssModules = lib.mkForce [ ];
|
|
};
|
|
}
|