[Nix-dev] NixOps on VServer (update)

Tomasz Czyż tomasz.czyz at gmail.com
Tue Mar 28 01:34:37 CEST 2017


You are missing few required parts in your configuration.

If you are deploying to the VM installed from CD or somethign like that you
should get that in /etc/nixos/hardware-configuration.nix (or you can
generate that with some command). There are settings about filesystems and
boot options. Copy that to your config (or just put in "import" section).

2017-03-28 0:21 GMT+01:00 <mb at thought2.de>:

> Here are more details to my previous message:
>
> I'm getting the following error, when deploying this
> (http://lpaste.net/353990) config to a remote nix machine:
>
> nixops deploy -d network
> building all machine configurations...
> error:
> Failed assertions:
> - The ‘fileSystems’ option does not specify your root file system.
> - You must set the option ‘boot.loader.grub.devices’ or
> 'boot.loader.grub.mirroredBoots' to make the system bootable.
> (use ‘--show-trace’ to show detailed location information)
> error: unable to build all machine configurations
>
> Does anybody have an idea how to fix this?
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>



-- 
Tomasz Czyż
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170328/01a09f4e/attachment-0001.html>


More information about the nix-dev mailing list