Add descriptions to new configurations
This commit is contained in:
parent
3c402009ba
commit
ef82a7b754
1 changed files with 6 additions and 0 deletions
|
@ -26,22 +26,26 @@ in {
|
|||
virtualisation = {
|
||||
runAsRoot = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
description = "Whether to launch the VM as root.";
|
||||
default = false;
|
||||
};
|
||||
|
||||
sharedHostKeys = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
description = "Whether to share the local host SSH keys with the VM.";
|
||||
default = false;
|
||||
};
|
||||
|
||||
virt-viewer = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
description = "Whether to use `remote-viewer` for displaying the VM.";
|
||||
default = false;
|
||||
};
|
||||
|
||||
qemu = {
|
||||
runInBackground = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
description = "Whether to run the QEMU command in a background job";
|
||||
default = false;
|
||||
};
|
||||
|
||||
|
@ -50,11 +54,13 @@ in {
|
|||
|
||||
bindAddress = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "The IP address for listening to incoming SPICE connections.";
|
||||
default = "127.0.0.1";
|
||||
};
|
||||
|
||||
port = lib.mkOption {
|
||||
type = lib.types.port;
|
||||
description = "The port for listening to incoming SPICE connections.";
|
||||
default = 5900;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue