Go to file
Eelco Dolstra 482a6625a9 * Use the configuration in /etc/nixos/configuration.nix by default.
svn path=/nixos/trunk/; revision=7319
2006-12-12 00:08:26 +00:00
boot * Use the configuration in /etc/nixos/configuration.nix by default. 2006-12-12 00:08:26 +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 * Use the configuration in /etc/nixos/configuration.nix by default. 2006-12-12 00:08:26 +00:00
upgrade.sh * Use the configuration in /etc/nixos/configuration.nix by default. 2006-12-12 00:08:26 +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