diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix index 17e3a038221..bef18fc8771 100644 --- a/nixos/modules/system/boot/kernel.nix +++ b/nixos/modules/system/boot/kernel.nix @@ -197,9 +197,6 @@ in "hid_generic" "hid_lenovo" "hid_apple" "hid_logitech_dj" "hid_lenovo_tpkbd" "hid_roccat" - # Unix domain sockets (needed by udev). - "unix" - # Misc. stuff. "pcips2" "atkbd" diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index ef38043b8d6..14e28170e6f 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -36,6 +36,9 @@ with stdenv.lib; SCHEDSTATS n DETECT_HUNG_TASK y + # Unix domain sockets. + UNIX y + # Power management. ${optionalString (versionOlder version "3.19") '' PM_RUNTIME y