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 4b5b0d2c66 * Purify the sshd configuration file (don't put it in /etc/ssh).
svn path=/nixos/trunk/; revision=7320
2006-12-12 15:32:28 +00:00
boot * Use the configuration in /etc/nixos/configuration.nix by default. 2006-12-12 00:08:26 +00:00
configuration * Purify the sshd configuration file (don't put it in /etc/ssh). 2006-12-12 15:32:28 +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 * Purify the sshd configuration file (don't put it in /etc/ssh). 2006-12-12 15:32: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