13 lines
407 B
Nix
13 lines
407 B
Nix
{ config, lib, pkgs, modulesPath, ... }: {
|
|
disabledModules = [
|
|
(modulesPath + "/config/ldso.nix")
|
|
(modulesPath + "/config/stub-ld.nix")
|
|
(modulesPath + "/programs/nix-ld.nix")
|
|
];
|
|
|
|
config = lib.mkIf pkgs.stdenv.hostPlatform.isMusl {
|
|
security.pam.services.login.updateWtmp = lib.mkForce false;
|
|
services.nscd.enable = lib.mkForce false;
|
|
system.nssModules = lib.mkForce [ ];
|
|
};
|
|
}
|