nixpkgs/modules/config
Jan Malakhovski b3f4040512 Radically change the way NixOS handles environment variables and make it possible not to use Bash as the default interactive shell.
This change does two things:

* "NixOSizes" environment variables generation. This allows some more
  error-checking and opens possibilities for a modular environment
  configuration. From now on the most of environment variables are
  generated directly by the nix code. Generating sh code that
  generates environment variables is left in a few places where
  nontrivial access to a local environment state is needed.
* By doing the first change this patch untangles bash from the
  environment configuration and makes it trivial to add a support for
  other non bash-compatible shells.

Now to the sad part. This change is quite large (and I'm not sure it's
possible to split it) and yet is not quite complete, it needs some
changes to nixpkgs to be perfect.
See !!! comments in modules/config/shells-environment.nix.

Main principle behind this change is "change environment generation
and nothing else". In particular, shell configuration principles stay
exactly the same as before.
2013-09-23 16:55:25 +00:00
..
fonts Radically change the way NixOS handles environment variables and make it possible not to use Bash as the default interactive shell. 2013-09-23 16:55:25 +00:00
gnu.nix Fix typos, especially those that end up in the NixOS manual 2013-08-10 21:07:13 +00:00
i18n.nix Radically change the way NixOS handles environment variables and make it possible not to use Bash as the default interactive shell. 2013-09-23 16:55:25 +00:00
krb5.nix Update all legacy-style modules 2013-09-04 13:05:09 +02:00
ldap.nix Update all legacy-style modules 2013-09-04 13:05:09 +02:00
networking.nix Update all legacy-style modules 2013-09-04 13:05:09 +02:00
no-x-libs.nix Remove HAL 2012-08-17 14:45:43 -04:00
nsswitch.nix Add services.samba.nsswins option 2013-09-07 15:09:44 +02:00
power-management.nix Fix description for PowerManagement units. 2013-08-27 08:06:53 +02:00
pulseaudio.nix Fix typos, especially those that end up in the NixOS manual 2013-08-10 21:07:13 +00:00
shells-environment.nix Radically change the way NixOS handles environment variables and make it possible not to use Bash as the default interactive shell. 2013-09-23 16:55:25 +00:00
swap.nix filesystems: add priority option for swap devices. 2013-05-17 09:22:07 +02:00
sysctl.nix Hide kernel pointers for unprivileged users via kptr_restrict 2013-07-31 16:11:04 +02:00
system-path.nix Update all legacy-style modules 2013-09-04 13:05:09 +02:00
timezone.nix Radically change the way NixOS handles environment variables and make it possible not to use Bash as the default interactive shell. 2013-09-23 16:55:25 +00:00
unix-odbc-drivers.nix Update all legacy-style modules 2013-09-04 13:05:09 +02:00
users-groups.nix Document that extraUsers options apply to root 2013-08-09 01:28:21 +00:00