This was very helpful, thank you Layus!
On Fri, Jul 1, 2016 at 1:38 AM, Layus wrote:
> To build a nixos vm based on a custom configuration.nix, you use
>
> $ export NIXOS_CONFIG=/my/custom/configuration.nix
> then
> $ nix-build “/your/checkout/of/nixpkgs”/nixos -A vm; # or,
To build a nixos vm based on a custom configuration.nix, you use
$ export NIXOS_CONFIG=/my/custom/configuration.nix
then
$ nix-build “/your/checkout/of/nixpkgs”/nixos -A vm; # or, preferably,
$ nixos-rebuild build-vm -I nixpkgs=/your/checkout/of/nixpkgs
But see the excellent ML thread about
Hi! I recently added setcap-wrapper functionality to nixos at awake
networks and I have contributed the changes in a fork on my own branch.
My ask is: I'm having trouble figuring out how I should test this. Building
a package is easy but is there a formula some where for building a nixos VM
to