1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
Nix Packages collection
Go to file
Eelco Dolstra 3e7f4280df * activate-configuration.sh: make sure that we're running on a NixOS
installation to prevent horrible accidents.
* Add the kernel parameters to isolinux.cfg.
* Use useradd/groupadd to create users/groups; use Glibc's getent to
  check for existence.
* Create the root account properly.

svn path=/nixos/trunk/; revision=7357
2006-12-16 21:48:12 +00:00
boot * activate-configuration.sh: make sure that we're running on a NixOS 2006-12-16 21:48:12 +00:00
configuration * activate-configuration.sh: make sure that we're running on a NixOS 2006-12-16 21:48:12 +00:00
helpers * activate-configuration.sh: make sure that we're running on a NixOS 2006-12-16 21:48:12 +00:00
installer * activate-configuration.sh: make sure that we're running on a NixOS 2006-12-16 21:48:12 +00:00
instances * activate-configuration.sh: make sure that we're running on a NixOS 2006-12-16 21:48:12 +00:00
upstart-jobs * activate-configuration.sh: make sure that we're running on a NixOS 2006-12-16 21:48:12 +00:00
README * Moving stuff around. 2006-11-27 19:49:05 +00:00
test.sh * Use the configuration in /etc/nixos/configuration.nix by default. 2006-12-12 00:08:26 +00:00
upgrade.sh * Use nix-env --set. 2006-12-13 12:21:06 +00:00

To get a Stage 1 shell:

Add "debug1" to the kernel command line.


Switching to maintenance mode:

$ shutdown now

To get out of maintenance mode:

$ initctl emit startup 


Updating the current system configuration:

$ nix-env -p /nix/var/nix/profiles/system -f system-configuration.nix -i -A systemConfiguration
$ /nix/var/nix/profiles/system/bin/switch-to-configuration