Are you deploying to a Hetzner VServer by any chance?
If that's the case, you probably want to use the following deployment
configuration:
deployment = {
targetEnv = "hetzner";
hetzner = {
mainIPv4 = "X.X.X.X";
robotUser = "";
partitions = ''
clearpart --all --initlabel
Usually you have the layout like
disk
disk/partition1
disk/partition2
so you install grub on disk (/dev/sda, /dev/xvda) or something like that
(generally block device with partition table I think).
New grub also requires boot partition I think (but not 100% sure).
There are other methods how you
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 t
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