WIP: test data model thru VM #11

Closed
kiara wants to merge 70 commits from data-model-test-deployment-plain into deployment-data-model-with-tests
2 changed files with 5 additions and 15 deletions
Showing only changes of commit ab2a31263d - Show all commits

View file

@ -32,7 +32,7 @@ let
ssh = {
host = "localhost";
username = "root";
authentication.password = "password";
key-file = null;
};
nixos-configuration =
{ pkgs, ... }:

View file

@ -45,20 +45,10 @@ let
type = nullOr str;
default = null;
};
authentication = mkOption {
description = "authentication method";
type = attrTag {
private-key = mkOption {
description = "path to the user's SSH private key";
type = str;
example = "/root/.ssh/id_ed25519";
};
password = mkOption {
description = "SSH password";
# TODO: mark as sensitive
type = str;
};
};
key-file = mkOption {
description = "path to the user's SSH private key";
type = nullOr str;
example = "/root/.ssh/id_ed25519";
};
};
};