tests, example: avoid lengthy documentation build

This options manual rebuild takes 30-60s and is triggered by the extra
NixOS options defined by nix-bitcoin.
This commit is contained in:
Erik Arvstedt 2022-10-22 19:37:45 +02:00 committed by Greg Shuflin
parent d5e50191d6
commit c12489d838
2 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,9 @@ rec {
# For faster startup in offline VMs
services.clightning.extraConfig = "disable-dns";
# Avoid lengthy build of the nixos manual
documentation.nixos.enable = false;
nixpkgs.pkgs = pkgs;
services.getty.autologinUser = "root";
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];

View File

@ -94,6 +94,9 @@ name: testConfig:
virtualisation.graphics = false;
services.getty.autologinUser = "root";
# Avoid lengthy build of the nixos manual
documentation.nixos.enable = false;
# Provide a shortcut for instant poweroff from within the machine
environment.systemPackages = with pkgs; [
(lowPrio (writeScriptBin "q" ''