[Nix-dev] NixOS on MacBook dual boot
Cillian de Róiste
cillian.deroiste at gmail.com
Wed Aug 13 10:16:29 CEST 2014
Hi Alexey,
Try removing the quotes:
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom-sta ];
I guess there's a problem with nixos-generate-config.
Cheers,
Cillian
On Wed, Aug 13, 2014 at 9:08 AM, Alexey Muranov
<alexey.muranov at gmail.com> wrote:
> 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.
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
--
NixOS: The Purely Functional Linux Distribution
http://nixos.org
More information about the nix-dev
mailing list