Open tobiasBora opened 4 years ago
That documentation is outdated, the new method to spawn nixops-dev is as follows
nix-shell -I channel:nixos-20.09 -p poetry
poetry install
poetry shell
And there you have it! You can run this command to view the list of installed plugins
nixops list-plugins
PS : All these steps are ran while you're under the "nixops-vbox" repo
nixopsUnstable
in Nixpkgs includes the virtualbox plugin.
I'm trying to use the nixops obtained from this repository, however when I compile this file, for example, I get an error:
File
supertrivial.nix
:I tried to read the generated documentation, but it seems that all the documentation is gone. There is just an overview section, that does not mention any plugin/virtualbox at all. The next relevant sections seems to be
Authoring a Plugin
that lists some plugins, so I tried to install the plugin https://github.com/nix-community/nixops-vbox, and this plugin states that we need to run:I don't have any
./dev-shell
, I guess thatplugin1
is in factvbox
? So I tried to enter into the nixops shell using:I don't have any error while entering the shell... but then I still have the same unknown resource error.
I'm a bit lost, and documentation does not help... would it be possible to have some help on using nixops + virtualbox?
Thanks!