nixpkgs/modules/config
Mathijs Kwik f31fefdfd9 splitted ssh/sshd X11 forwarding logic. Backward compatible change.
You can now set the forwardX11 config option for the ssh client and server separately.

For server, the option means "allow clients to request X11 forwarding".
For client, the option means "request X11 forwarding by default on all connections".

I don't think it made sense to couple them. I might not even run the server on some machines.
Also, I ssh to a lot of machines, and rarely want X11 forwarding. The times I want it,
I use the -X/-Y option, or set it in my ~/.ssh/config.

I also decoupled the 'XAuthLocation' logic from forwardX11.
For my case where ssh client doesn't want forwarding by default, it still wants to set the path for the cases I do need it.

As this flag is the one that pulls in X11 dependencies, I changed the minimal profile and the no-x-libs config to check that instead now.

svn path=/nixos/trunk/; revision=33407
2012-03-25 15:42:05 +00:00
..
fonts.nix Reverting revisions 30103-30106: "always set nixpkgs.config.{state,store}Dir", etc. 2011-10-30 15:19:58 +00:00
gnu.nix Another strange error, which I fixed 2011-01-30 17:27:24 +00:00
i18n.nix * Initialise $LOCALE_ARCHIVE earlier in /etc/profile to prevent the 2012-03-19 02:53:58 +00:00
krb5.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
ldap.nix Add more options for LDAP module. (timeLimit, bind.timeLimit, bind.policy) 2011-10-30 18:46:31 +00:00
networking.nix * Generate a resolvconf.conf file for openresolv. 2012-03-01 14:46:47 +00:00
no-x-libs.nix splitted ssh/sshd X11 forwarding logic. Backward compatible change. 2012-03-25 15:42:05 +00:00
nsswitch-mdns.conf NSS-mDNS: Allow both IPv4 and IPv6 address resolution. 2010-10-07 20:10:40 +00:00
nsswitch.conf Adding 'ethers' on nsswitch. 2011-04-20 20:59:07 +00:00
nsswitch.nix Oops. 2009-06-26 21:39:31 +00:00
power-management.nix * Use boot.kernelModules everywhere instead of explicit calls to 2012-03-17 17:26:17 +00:00
pulseaudio.nix * Revert r30370, it's no longer needed. 2011-11-11 15:02:30 +00:00
shells.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
swap.nix Remove swap cipher option because it isn't implemented and is misleading new users 2011-11-10 16:39:04 +00:00
system-path.nix * Modularize filesystem support. Filesystems such as btrfs and 2012-03-09 14:37:58 +00:00
timezone.nix * Create /etc/localtime as a symlink to the right zoneinfo file. 2011-10-27 19:36:03 +00:00
unix-odbc-drivers.nix strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
users-groups.nix Convert users.extraUsers to an option set and add support for openssh 2011-11-29 06:08:55 +00:00