1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/test
Eelco Dolstra 34acdf1f22 * Generate a Grub boot menu that contains all generations of the
system profile.

svn path=/nixu/trunk/; revision=7105
2006-11-23 23:22:43 +00:00
..
upstart-jobs
boot-environment.nix
boot-stage-1-init.sh
boot-stage-1.nix
boot-stage-2-init.sh * Fill in /etc/mtab with something sensible. 2006-11-23 22:58:25 +00:00
boot-stage-2.nix
grub-menu-builder.sh * Generate a Grub boot menu that contains all generations of the 2006-11-23 23:22:43 +00:00
installer.nix
installer.sh * Generate a Grub boot menu that contains all generations of the 2006-11-23 23:22:43 +00:00
isolinux.cfg
make-devices.sh
make-initrd.nix
make-initrd.sh
make-iso9660-image.nix
make-iso9660-image.sh
modules-closure.nix
modules-closure.sh
paths-from-graph.sh
README
rescue-cd.nix
system-configuration.nix * Generate a Grub boot menu that contains all generations of the 2006-11-23 23:22:43 +00:00
system-configuration.sh * Generate a Grub boot menu that contains all generations of the 2006-11-23 23:22:43 +00:00

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