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-11-03 23:08:04 +01:00
parent b840548d40
commit 1d3f49f8da
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -29,6 +29,9 @@ rec {
# For faster startup in offline VMs # For faster startup in offline VMs
services.clightning.extraConfig = "disable-dns"; services.clightning.extraConfig = "disable-dns";
# Avoid lengthy build of the nixos manual
documentation.nixos.enable = false;
nixpkgs.pkgs = pkgs; nixpkgs.pkgs = pkgs;
services.getty.autologinUser = "root"; services.getty.autologinUser = "root";
nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
+3
View File
@@ -94,6 +94,9 @@ name: testConfig:
virtualisation.graphics = false; virtualisation.graphics = false;
services.getty.autologinUser = "root"; 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 # Provide a shortcut for instant poweroff from within the machine
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(lowPrio (writeScriptBin "q" '' (lowPrio (writeScriptBin "q" ''