[Nix-dev] NixOS on MacBook dual boot
Alexey Muranov
alexey.muranov at gmail.com
Wed Aug 13 09:08:43 CEST 2014
On 12 août 2014, at 22:27, Paul Colomiets <paul at colomiets.name> wrote:
> You don't need another EFI
> partition, nixos should put it's own kernel into existing EFI
> partition, just mount it as /boot.
Should i mount it before running `nixos-generate-config`? If so, should i mount it at /boot or at /mnt/boot?
I have tried just the following sequence of commands:
# swapon /dev/disk/by-lablel/swap
# mount /dev/disk/bt-label/nixos /mnt
# nixos-generate-config --root /mnt
# nixos-install
It failed with the messages:
building the system configuration...
error: while evaluating the attribute `buildCommand' of the derivation
`nixos-14.04.291.a4ac76b' at
/mnt-nixpkgs/nixos/modules/system/activation/top-level.nix:100:7:
[...]
The option value `boot.extraModulePackages' in
`/etc/nixos/hardware-configuration.nix' is not a list of paths.
I checked my hardware-configuration.nix, there i had
boot.extraModulePackages = [ "config.boot.kernelPackages.broadcom-sta" ];
The `fileSystems` option had a single element:
fileSystems."/" =
{ device = "/dev/sda5";
fsType = "ext4";
}
What is wrong?
Alexey.
More information about the nix-dev
mailing list