Automated install is once more succesful
svn path=/nixos/trunk/; revision=14229
This commit is contained in:
parent
6c2622abe7
commit
9e29c72bd2
@ -14,7 +14,7 @@ mkdir -p /mnt/etc/nixos
|
|||||||
|
|
||||||
cat > /mnt/etc/nixos/configuration.nix <<EOF
|
cat > /mnt/etc/nixos/configuration.nix <<EOF
|
||||||
|
|
||||||
pkgs: full_configuration: {
|
{pkgs, config, ...}: {
|
||||||
boot = {
|
boot = {
|
||||||
grubDevice = "/dev/sda";
|
grubDevice = "/dev/sda";
|
||||||
copyKernels = true;
|
copyKernels = true;
|
||||||
|
@ -17,7 +17,7 @@ set -x
|
|||||||
echo "Installation starting.." > report
|
echo "Installation starting.." > report
|
||||||
|
|
||||||
nix-build -o socat /etc/nixos/nixpkgs -A socat || { echo "Failed to build socat" >&2 ; exit 2; };
|
nix-build -o socat /etc/nixos/nixpkgs -A socat || { echo "Failed to build socat" >&2 ; exit 2; };
|
||||||
nix-build -o qemu /etc/nixos/nixpkgs -A qemu || { echo "Failed to build qemu" >&2 ; exit 2; };
|
nix-build -o qemu /etc/nixos/nixpkgs -A ${QEMU_PACKAGE:-qemu} || { echo "Failed to build qemu" >&2 ; exit 2; };
|
||||||
|
|
||||||
echo "reboot" | ./socat/bin/socat tcp-listen:4424 stdio >> report &
|
echo "reboot" | ./socat/bin/socat tcp-listen:4424 stdio >> report &
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ rec {
|
|||||||
|
|
||||||
nixpkgsRel = "nixpkgs" + (if networkNixpkgs != "" then "-" + networkNixpkgs else "");
|
nixpkgsRel = "nixpkgs" + (if networkNixpkgs != "" then "-" + networkNixpkgs else "");
|
||||||
|
|
||||||
configuration = pkgs: final_configuration: let preConfiguration ={
|
configuration = {pkgs, config, ...}: let preConfiguration ={
|
||||||
boot = {
|
boot = {
|
||||||
isLiveCD = true;
|
isLiveCD = true;
|
||||||
# The label used to identify the installation CD.
|
# The label used to identify the installation CD.
|
||||||
@ -164,8 +164,8 @@ rec {
|
|||||||
|
|
||||||
udev = {
|
udev = {
|
||||||
addFirmware = []
|
addFirmware = []
|
||||||
++ (pkgs.lib.optional intel3945FWEnable pkgs.iwlwifi3945ucode)
|
#++ (pkgs.lib.optional intel3945FWEnable pkgs.iwlwifi3945ucode)
|
||||||
++ (pkgs.lib.optional intel4965FWEnable pkgs.iwlwifi4965ucode)
|
#++ (pkgs.lib.optional intel4965FWEnable pkgs.iwlwifi4965ucode)
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user