Unverified Commit b4b72182 authored by Maximilian Bosch's avatar Maximilian Bosch
Browse files

nixos/testing: enable ssh backdoor by default if debug hook is enabled

You usually want both, so it makes sense to have the former imply the
latter. If this is not desired, it can still be modified within a test.
parent d6b326d6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -84,7 +84,8 @@ in
  options = {
    sshBackdoor = {
      enable = mkOption {
        default = false;
        default = config.enableDebugHook;
        defaultText = lib.literalExpression "config.enableDebugHook";
        type = types.bool;
        description = "Whether to turn on the VSOCK-based access to all VMs. This provides an unauthenticated access intended for debugging.";
      };