nixpkgs/modules/system/boot
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
..
loader Update all legacy-style modules 2013-09-04 13:05:09 +02:00
kernel.nix Lower the default console log level 2013-07-23 22:18:25 +02:00
kexec.nix Add kexec support 2013-09-16 17:42:13 +02:00
luksroot.nix Fix indentation / tabs 2013-07-23 22:18:25 +02:00
modprobe.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
readonly-mountpoint.c "Maintain" the tested job so I get notifications when it fails 2013-03-26 12:35:28 -04:00
shutdown.nix Set the kernel.poweroff_cmd sysctl 2013-03-27 23:03:37 +01:00
stage-1-init.sh Lower the default console log level 2013-07-23 22:18:25 +02:00
stage-1.nix Update all legacy-style modules 2013-09-04 13:05:09 +02:00
stage-2-init.sh Set permissions on /var/log/journal properly 2013-07-19 21:18:44 +02:00
stage-2.nix Update all legacy-style modules 2013-09-04 13:05:09 +02:00
systemd-unit-options.nix systemd: check service.name.Type and service.name.Restart 2013-08-15 09:19:51 +03:00
systemd.nix Add kexec support 2013-09-16 17:42:13 +02:00