aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vm.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vm.nix')
-rw-r--r--tests/vm.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/vm.nix b/tests/vm.nix
index 78b861b..d808dd2 100644
--- a/tests/vm.nix
+++ b/tests/vm.nix
@@ -64,6 +64,12 @@ in pkgs.testers.runNixOSTest {
pkgs.age pkgs.gnupg pkgs.pass pkgs.passage
];
networking.firewall.allowedTCPPorts = [ 8000 9418 ];
+ # Resolving indirect references fails if the global registry can't be
+ # downloaded, which it can't in the VM. Disabling it needs flakes, and a
+ # deploying machine using indirect references has them anyway. The
+ # target doesn't, so its checks for flake support still mean something.
+ nix.settings.experimental-features = [ "nix-command" "flakes" ];
+ nix.settings.flake-registry = "";
programs.ssh.extraConfig = ''
StrictHostKeyChecking no
UserKnownHostsFile /dev/null