* More moving.

svn path=/nixos/branches/modular-nixos/; revision=15725
This commit is contained in:
Eelco Dolstra 2009-05-25 14:19:33 +00:00
parent 6e066c8e1d
commit 278b15d840
16 changed files with 25 additions and 24 deletions

View File

@ -251,10 +251,10 @@ in
option option
# config.system.build # config.system.build
../system/system-options.nix # ../system/system-options.nix
# config.system.activationScripts # config.system.activationScripts
../system/activate-configuration.nix # ../system/activate-configuration.nix
]; ];
system = { system = {

View File

@ -41,7 +41,7 @@ in
###### implementation ###### implementation
let let
ids = import ./ids.nix; ids = import ../../system/ids.nix;
defaultShell = config.system.shell; defaultShell = config.system.shell;
# User accounts to be created/updated by NixOS. # User accounts to be created/updated by NixOS.
@ -151,7 +151,7 @@ in
options options
# config.system.activationScripts # config.system.activationScripts
../system/activate-configuration.nix # ../system/activate-configuration.nix
]; ];
system = { system = {

View File

@ -144,7 +144,7 @@ rec {
# The init script of boot stage 1 (loading kernel modules for # The init script of boot stage 1 (loading kernel modules for
# mounting the root FS). # mounting the root FS).
bootStage1 = pkgs.substituteAll { bootStage1 = pkgs.substituteAll {
src = ./boot-stage-1-init.sh; src = ./stage-1-init.sh;
shell = "${extraUtils}/bin/bash"; shell = "${extraUtils}/bin/bash";
@ -192,7 +192,7 @@ rec {
suffix = "/bin/splash_helper"; suffix = "/bin/splash_helper";
symlink = "/${kernelPackages.splashutils.helperName}"; symlink = "/${kernelPackages.splashutils.helperName}";
} # */ } # */
{ object = import ../helpers/unpack-theme.nix { { object = import ../../../helpers/unpack-theme.nix {
inherit (pkgs) stdenv; inherit (pkgs) stdenv;
theme = config.services.ttyBackgrounds.defaultTheme; theme = config.services.ttyBackgrounds.defaultTheme;
}; };

View File

@ -18,7 +18,7 @@ let
bootLocal = config.boot.localCommands; bootLocal = config.boot.localCommands;
bootStage2 = substituteAll { bootStage2 = substituteAll {
src = ./boot-stage-2-init.sh; src = ./stage-2-init.sh;
isExecutable = true; isExecutable = true;
inherit kernel upstart isLiveCD activateConfiguration upstartPath; inherit kernel upstart isLiveCD activateConfiguration upstartPath;
path = [ path = [
@ -37,10 +37,10 @@ in
# config.boot.kernelPackages # config.boot.kernelPackages
# config.system.activationScripts # config.system.activationScripts
../system/activate-configuration.nix # ../system/activate-configuration.nix
# config.system.build # config.system.build
../system/system-options.nix # ../system/system-options.nix
]; ];
system = { system = {

View File

@ -92,7 +92,8 @@ let
sync || true sync || true
# Right now all events above power off the system. # Either reboot or power-off the system. Note that the "halt"
# event also does a power-off.
if test ${event} = reboot; then if test ${event} = reboot; then
exec reboot -f exec reboot -f
else else

View File

@ -380,9 +380,14 @@ in
require = [ require = [
#../modules/hardware/network/intel-3945abg.nix #../modules/hardware/network/intel-3945abg.nix
../boot/boot-stage-2.nix
../etc/default.nix ../etc/default.nix
../modules/config/fonts.nix
../modules/config/i18n.nix
../modules/config/unix-odbc-drivers.nix
../modules/config/users-groups.nix
../modules/installer/grub/grub.nix ../modules/installer/grub/grub.nix
../modules/security/setuid-wrappers.nix
../modules/security/sudo.nix
../modules/services/audio/alsa.nix ../modules/services/audio/alsa.nix
../modules/services/audio/pulseaudio.nix ../modules/services/audio/pulseaudio.nix
../modules/services/databases/mysql.nix ../modules/services/databases/mysql.nix
@ -436,28 +441,23 @@ in
../modules/services/web-servers/tomcat.nix # untested, too lazy to get that jdk ../modules/services/web-servers/tomcat.nix # untested, too lazy to get that jdk
../modules/services/x11/xfs.nix ../modules/services/x11/xfs.nix
../modules/services/x11/xserver/default.nix ../modules/services/x11/xserver/default.nix
../system/activate-configuration.nix ../modules/system/activation/activation-script.nix
../modules/system/boot/kernel.nix
../modules/system/boot/stage-2.nix
../modules/system/upstart-events/ctrl-alt-delete.nix
../modules/system/upstart-events/halt.nix
../modules/system/upstart-events/maintenance-shell.nix
../system/assertion.nix ../system/assertion.nix
../modules/config/fonts.nix
../system/i18n.nix
../system/kernel.nix
../system/nixos-environment.nix ../system/nixos-environment.nix
../system/nixos-installer.nix ../system/nixos-installer.nix
../modules/security/setuid-wrappers.nix
../modules/security/sudo.nix
../system/system-options.nix ../system/system-options.nix
../system/unix-odbc-drivers.nix
../system/users-groups.nix
../upstart-jobs/cron/locate.nix ../upstart-jobs/cron/locate.nix
../upstart-jobs/ctrl-alt-delete.nix
../upstart-jobs/default.nix ../upstart-jobs/default.nix
../upstart-jobs/filesystems.nix ../upstart-jobs/filesystems.nix
../upstart-jobs/guest-users.nix ../upstart-jobs/guest-users.nix
../upstart-jobs/halt.nix
../upstart-jobs/kbd.nix ../upstart-jobs/kbd.nix
../upstart-jobs/ldap ../upstart-jobs/ldap
../upstart-jobs/lvm.nix ../upstart-jobs/lvm.nix
../upstart-jobs/maintenance-shell.nix
../upstart-jobs/network-interfaces.nix ../upstart-jobs/network-interfaces.nix
../upstart-jobs/pcmcia.nix ../upstart-jobs/pcmcia.nix
../upstart-jobs/swap.nix ../upstart-jobs/swap.nix

View File

@ -83,7 +83,7 @@ in
option option
# config.system.activationScripts # config.system.activationScripts
../system/activate-configuration.nix # ../system/activate-configuration.nix
]; ];
system = { system = {

View File

@ -38,7 +38,7 @@ rec {
# The initial ramdisk. # The initial ramdisk.
initialRamdiskStuff = import ../boot/boot-stage-1.nix { initialRamdiskStuff = import ../modules/system/boot/stage-1.nix {
inherit pkgs config; inherit pkgs config;
}; };