Skip to content

Instantly share code, notes, and snippets.

@fpletz
Created May 26, 2017 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fpletz/f81204d6b00749961ab9db3b33434447 to your computer and use it in GitHub Desktop.
Save fpletz/f81204d6b00749961ab9db3b33434447 to your computer and use it in GitHub Desktop.
build VMs
{
test = { pkgs, lib, ... }: with lib; {
virtualisation.memorySize = 512;
virtualisation.graphics = false;
networking.firewall.enable = false;
services.rmilter.enable = false;
};
}
$ NIX_PATH=nixpkgs=/home/fpletz/src/nixpkgs nixos-build-vms vm.nix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment