nixpkgs/nixos/modules
Eelco Dolstra da702a4034
nixos-enter: Don't require root
Of course, you'll get a bunch of warnings from the activation script:

  $ nixos-enter --root /tmp/mnt/
  setting up /etc...
  mount: /dev: permission denied.
  mount: /dev/pts: permission denied.
  mount: /dev/shm: permission denied.
  mount: /sys: permission denied.
  /nix/var/nix/profiles/system/activate: line 74: /proc/sys/kernel/modprobe: Permission denied
  chown: changing ownership of '/run/wrappers/wrappers.0pKlU8JsvV/dbus-daemon-launch-helper': Invalid argument
  NOTE: Under Linux, effective file capabilities must either be empty, or
        exactly match the union of selected permitted and inheritable bits.
  Failed to set capabilities on file `/run/wrappers/wrappers.0pKlU8JsvV/ping' (Operation not permitted)
  chown: changing ownership of '/run/wrappers/wrappers.0pKlU8JsvV/unix_chkpwd': Invalid argument

  [root@nixos:/]#
2018-02-07 17:59:04 +01:00
..
config Move creation of /root to the activation script 2018-02-05 22:12:18 +01:00
hardware intel-ocl: r4.0-59481 -> 5.0-63503 2017-11-01 17:59:49 +00:00
i18n/input-method Remove top-level kde5 attribute 2017-02-27 11:49:10 -06:00
installer nixos-enter: Don't require root 2018-02-07 17:59:04 +01:00
misc Merge remote-tracking branch 'upstream/master' into staging 2018-02-03 02:50:21 +02:00
profiles Add setFunctionArgs lib function. 2018-01-31 14:02:19 -05:00
programs Merge pull request #33866 from yesbox/fix_newgrp 2018-02-05 10:47:23 +00:00
security sudo: define extra rules in Nix language (#33905) 2018-01-17 14:56:08 +00:00
services matrix-synapse: default server_name to hostname 2018-02-04 21:22:55 -04:00
system Remove creation of /dev/{fd,stdin,stdout,stderr} 2018-02-07 17:58:21 +01:00
tasks fix 2018-02-01 10:51:35 +01:00
testing nixos/qemu: Deduplicate QEMU serialDevice into qemu-flags.nix 2018-01-30 16:57:27 +02:00
virtualisation runInLinuxVM: Use QEMU command line that works on other architectures 2018-01-30 16:57:27 +02:00
module-list.nix Merge pull request #34188 from dotlambda/home-assistant 2018-02-01 08:44:48 +00:00
rename.nix Revert "nixos/dnscrypt-proxy: remove" 2018-01-08 15:09:33 +01:00