[Nix-dev] NixOS on MacBook dual boot

Luca Bruno lethalman88 at gmail.com
Wed Aug 13 11:02:38 CEST 2014


Mount every file system under /mnt. Therefore, /mnt/boot. Then regenerate
the config.


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
>



-- 
www.debian.org - The Universal Operating System
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140813/2d338fe9/attachment.html 


More information about the nix-dev mailing list