nixpkgs/nixos/modules
aszlig 46f7dd436f
nixos/confinement: Allow to configure /bin/sh
Another thing requested by @edolstra in [1]:

  We should not provide a different /bin/sh in the chroot, that's just
  asking for confusion and random shell script breakage. It should be
  the same shell (i.e. bash) as in a regular environment.

While I personally would even go as far to even have a very restricted
shell that is not even a shell and basically *only* allows "/bin/sh -c"
with only *very* minimal parsing of shell syntax, I do agree that people
expect /bin/sh to be bash (or the one configured by environment.binsh)
on NixOS.

So this should make both others and me happy in that I could just use
confinement.binSh = "${pkgs.dash}/bin/dash" for the services I confine.

[1]: https://github.com/NixOS/nixpkgs/pull/57519#issuecomment-472855704

Signed-off-by: aszlig <aszlig@nix.build>
2019-03-14 19:14:05 +01:00
..
config zram: revert "change default algorithm to zstd" (#56856) 2019-03-07 02:11:20 +02:00
hardware nixos/docker: add enableNvidia option 2019-02-27 09:56:03 +01:00
i18n/input-method docs: format 2018-09-29 20:51:11 -04:00
installer ova: remove stateVersion 2019-03-09 14:25:05 -05:00
misc nixos: doc: optionally include all modules in manual generation 2019-03-05 09:41:40 +00:00
profiles profiles/graphical.nix: Enable pulseaudio for virtualbox appliances 2019-02-22 07:23:59 +01:00
programs nixos/sway: Improve the module and adapt it to NixOS 2019-03-13 11:37:11 +01:00
security nixos/confinement: Allow to configure /bin/sh 2019-03-14 19:14:05 +01:00
services plasma5: fix typo from pr #57037 2019-03-14 14:09:13 -04:00
system nixos: Add 'chroot' options to systemd.services 2019-03-14 19:14:01 +01:00
tasks network-scripting: do not run resolvconf if /etc/resolv.conf is managed manually (#56682) 2019-03-09 13:42:14 +02:00
testing types.optionSet: deprecate and remove last usages 2019-01-31 00:41:10 +02:00
virtualisation virtualbox-host module: fix warnings syntax 2019-03-09 11:39:22 +01:00
module-list.nix nixos/systemd-chroot: Rename chroot to confinement 2019-03-14 19:14:03 +01:00
rename.nix tautulli/plexpy: 1.4.25 -> 2.1.26 (renamed) 2019-02-28 19:07:00 +01:00