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 2d0f190f20 * More refactoring: renamed boot-environment.nix to system.nix (since
it does a lot more than just booting), and merged
  system-configuration.nix into system.nix.

svn path=/nixos/trunk/; revision=7318
2006-12-11 17:36:57 +00:00
boot * More refactoring; move some of the boot time options into the 2006-12-11 16:10:23 +00:00
configuration * More refactoring: renamed boot-environment.nix to system.nix (since 2006-12-11 17:36:57 +00:00
helpers * More semi-purification of /etc. 2006-12-09 02:51:42 +00:00
installer * More refactoring: renamed boot-environment.nix to system.nix (since 2006-12-11 17:36:57 +00:00
instances * More refactoring: renamed boot-environment.nix to system.nix (since 2006-12-11 17:36:57 +00:00
upstart-jobs * Hm, "set" doesn't seem to do the right thing. 2006-12-11 02:55:28 +00:00
README * Moving stuff around. 2006-11-27 19:49:05 +00:00
test.sh * More refactoring: renamed boot-environment.nix to system.nix (since 2006-12-11 17:36:57 +00:00
upgrade.sh * More refactoring: renamed boot-environment.nix to system.nix (since 2006-12-11 17:36:57 +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