[Nix-dev] Understanding configFile usage

Brandon Barker brandon.barker at cornell.edu
Sun Feb 14 23:54:46 CET 2016


Hi,

I've been trying to get a NixOS  image working on our Eucalyptus cloud. It
looks like cloud-init.nix (

https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/system/cloud-init.nix

) has a reasonable default for our purposes (permits root login, etc).
However, after I look at the actual cloud.cfg file under /nix/store, it
appears to be different - a heavily commented file that is probably the
default shipped with cloud-init (root login is disabled, etc.).

Is there a way I could quickly get the appropriate behavior using my
configuration.nix file? I suppose the best way to do this would be to model
all the options in the cloud-init.nix, but I'd like to get it actually on
our cloud first so I can start experimenting more with nix for actual work
:).



-- 
Brandon E. Barker
http://www.cac.cornell.edu/barker/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160214/7d34af7a/attachment.html 


More information about the nix-dev mailing list