[Nix-dev] Question about nixos-rebuild from a newbie

Eelco Dolstra e.dolstra at tudelft.nl
Wed May 11 10:39:41 CEST 2011


Hi,

On 05/11/2011 05:50 AM, Steve Roggenkamp wrote:

> So am I wrong to expect nixos-rebuild to do all of this for me?  I can create
> the /nfshome directory by hand and manually mount the NFS file system with no
> problems, but I had the expectation that nixos-rebuild would do this for me.  Am
> I missing something else in the configuration.nix file?  Do I need to reboot to
> get the change to take effect?

You seem to have run into this bug:

   http://yellowgrass.org/issue/NixOS/84

i.e. the "autocreate" option doesn't actually do anything.  (It used to work, 
but we lost it somewhere when we moved to "mountall".)

So as a workaround, you should just create the directory manually.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list