summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2016-09-05 12:05:32 +0200
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2016-12-10 00:01:21 +0200
commitd429520b1380599be900408513150c22f759e009 (patch)
treec8b2c461e9c2a3f66a02e5d8649eaab84c2755a8 /pkgs/os-specific/linux/kernel
parentfc6d82cf7630a74697490a152a190b17844affae (diff)
downloadnixpkgs-d429520b1380599be900408513150c22f759e009.tar
nixpkgs-d429520b1380599be900408513150c22f759e009.tar.gz
nixpkgs-d429520b1380599be900408513150c22f759e009.tar.bz2
nixpkgs-d429520b1380599be900408513150c22f759e009.tar.lz
nixpkgs-d429520b1380599be900408513150c22f759e009.tar.xz
nixpkgs-d429520b1380599be900408513150c22f759e009.tar.zst
nixpkgs-d429520b1380599be900408513150c22f759e009.zip
kernel: add CONFIG_CIFS_* like Fedora, Ubuntu
The plan is to fix mounting DFS shares on NixOS (for which some of these
options are needed), but I figured it might be a good idea to enable all
CONFIG_CIFS_* like Fedora 24 and Ubuntu 16.04 while at it. Ubuntu even
has CONFIG_CIFS_SMB311, but as Fedora do not, I left it out.

Mounting DFS shares still doesn't work; need to configure cifs.upcall
and /etc/request-key.conf. Until then, using GVFS as a workaround.
Diffstat (limited to 'pkgs/os-specific/linux/kernel')
-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 2ae714ea089..e0abb745f34 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -260,6 +260,11 @@ with stdenv.lib;
   CIFS_XATTR y
   CIFS_POSIX y
   CIFS_FSCACHE y
+  CIFS_STATS y
+  CIFS_WEAK_PW_HASH y
+  CIFS_UPCALL y
+  CIFS_ACL y
+  CIFS_DFS_UPCALL y
   CIFS_SMB2 y
   ${optionalString (versionAtLeast version "3.12") ''
     CEPH_FSCACHE y