summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-08-29 03:01:25 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-08-29 03:07:11 +0300
commitc004c6e14d00845f9ee15f0f992eb06325f1bdd8 (patch)
tree85c693a9749d0a64736eb9c505091ce98f824993 /pkgs
parent0b22104c1d57d30f4e7529c7220379dccfbae38a (diff)
downloadnixpkgs-c004c6e14d00845f9ee15f0f992eb06325f1bdd8.tar
nixpkgs-c004c6e14d00845f9ee15f0f992eb06325f1bdd8.tar.gz
nixpkgs-c004c6e14d00845f9ee15f0f992eb06325f1bdd8.tar.bz2
nixpkgs-c004c6e14d00845f9ee15f0f992eb06325f1bdd8.tar.lz
nixpkgs-c004c6e14d00845f9ee15f0f992eb06325f1bdd8.tar.xz
nixpkgs-c004c6e14d00845f9ee15f0f992eb06325f1bdd8.tar.zst
nixpkgs-c004c6e14d00845f9ee15f0f992eb06325f1bdd8.zip
kernel config: Explicitly enable some stuff not enabled by 'make alldefconfig'
List of what to enable taken from https://lwn.net/Articles/672587/.
This doesn't change the resulting x86 configs, but is more useful for
other architectures. For instance, POSIX_MQUEUE is currently missing
on ARM.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 7cec276a4fa..e8d52cc240f 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -107,6 +107,7 @@ with stdenv.lib;
   WAN y
 
   # Networking options.
+  NET y
   IP_PNP n
   ${optionalString (versionOlder version "3.13") ''
     IPV6_PRIVACY y
@@ -210,6 +211,7 @@ with stdenv.lib;
   # Filesystem options - in particular, enable extended attributes and
   # ACLs for all filesystems that support them.
   FANOTIFY y
+  TMPFS y
   EXT2_FS_XATTR y
   EXT2_FS_POSIX_ACL y
   EXT2_FS_SECURITY y
@@ -313,6 +315,7 @@ with stdenv.lib;
   ${optionalString (versionOlder version "4.4") ''
     B43_PCMCIA? y
   ''}
+  BLK_DEV_INITRD y
   BLK_DEV_INTEGRITY y
   BSD_PROCESS_ACCT_V3 y
   BT_HCIUART_BCSP? y
@@ -323,8 +326,10 @@ with stdenv.lib;
   CRASH_DUMP? n
   DVB_DYNAMIC_MINORS? y # we use udev
   EFI_STUB y # EFI bootloader in the bzImage itself
+  CGROUPS y # used by systemd
   FHANDLE y # used by systemd
   SECCOMP y # used by systemd >= 231
+  POSIX_MQUEUE y
   FRONTSWAP y
   FUSION y # Fusion MPT device support
   IDE n # deprecated IDE support