From 2d0f190f20b0aadae208e60b99828e01c27d7f02 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 11 Dec 2006 17:36:57 +0000 Subject: [PATCH] * 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 --- configuration/options.nix | 31 +++++++++ configuration/system-configuration.nix | 63 ------------------- .../{boot-environment.nix => system.nix} | 46 ++++++++++++-- .../{system-configuration.sh => system.sh} | 4 +- installer/grub-menu-builder.sh | 4 ++ instances/examples/basic.nix | 8 +++ test.sh | 4 +- upgrade.sh | 4 +- 8 files changed, 92 insertions(+), 72 deletions(-) delete mode 100644 configuration/system-configuration.nix rename configuration/{boot-environment.nix => system.nix} (78%) rename configuration/{system-configuration.sh => system.sh} (80%) create mode 100644 instances/examples/basic.nix diff --git a/configuration/options.nix b/configuration/options.nix index 31842627bb5..c8a2f07df01 100644 --- a/configuration/options.nix +++ b/configuration/options.nix @@ -62,6 +62,37 @@ } + { + name = ["boot" "kernelParams"]; + default = [ + "selinux=0" + "apm=on" + "acpi=on" + "vga=0x317" + "console=tty1" + "splash=verbose" + ]; + description = " + The kernel parameters. If you want to add additional + parameters, it's best to set +