forked from clan/clan-core
drop deprecated mdDoc
This commit is contained in:
parent
e2d7e6e86c
commit
3c0b5f0867
@ -9,7 +9,7 @@
|
|||||||
# - cli frontend: https://github.com/localsend/localsend/issues/11
|
# - cli frontend: https://github.com/localsend/localsend/issues/11
|
||||||
# - ipv6 support: https://github.com/localsend/localsend/issues/549
|
# - ipv6 support: https://github.com/localsend/localsend/issues/549
|
||||||
options.clan.localsend = {
|
options.clan.localsend = {
|
||||||
enable = lib.mkEnableOption (lib.mdDoc "enable the localsend module");
|
enable = lib.mkEnableOption "enable the localsend module";
|
||||||
defaultLocation = lib.mkOption {
|
defaultLocation = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
description = "The default download location";
|
description = "The default download location";
|
||||||
|
@ -122,7 +122,7 @@ in
|
|||||||
cores = lib.mkOption {
|
cores = lib.mkOption {
|
||||||
type = lib.types.ints.positive;
|
type = lib.types.ints.positive;
|
||||||
default = 1;
|
default = 1;
|
||||||
description = lib.mdDoc ''
|
description = ''
|
||||||
Specify the number of cores the guest is permitted to use.
|
Specify the number of cores the guest is permitted to use.
|
||||||
The number can be higher than the available cores on the
|
The number can be higher than the available cores on the
|
||||||
host system.
|
host system.
|
||||||
@ -132,7 +132,7 @@ in
|
|||||||
memorySize = lib.mkOption {
|
memorySize = lib.mkOption {
|
||||||
type = lib.types.ints.positive;
|
type = lib.types.ints.positive;
|
||||||
default = 1024;
|
default = 1024;
|
||||||
description = lib.mdDoc ''
|
description = ''
|
||||||
The memory size in megabytes of the virtual machine.
|
The memory size in megabytes of the virtual machine.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
@ -140,7 +140,7 @@ in
|
|||||||
graphics = lib.mkOption {
|
graphics = lib.mkOption {
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
description = lib.mdDoc ''
|
description = ''
|
||||||
Whether to run QEMU with a graphics window, or in nographic mode.
|
Whether to run QEMU with a graphics window, or in nographic mode.
|
||||||
Serial console will be enabled on both settings, but this will
|
Serial console will be enabled on both settings, but this will
|
||||||
change the preferred console.
|
change the preferred console.
|
||||||
@ -150,7 +150,7 @@ in
|
|||||||
waypipe = lib.mkOption {
|
waypipe = lib.mkOption {
|
||||||
type = lib.types.bool;
|
type = lib.types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = lib.mdDoc ''
|
description = ''
|
||||||
Whether to use waypipe for native wayland passthrough, or not.
|
Whether to use waypipe for native wayland passthrough, or not.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -81,7 +81,7 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
settings = lib.mkOption {
|
settings = lib.mkOption {
|
||||||
description = lib.mdDoc "override the network config in /var/lib/zerotier/bla/$network.json";
|
description = "override the network config in /var/lib/zerotier/bla/$network.json";
|
||||||
type = lib.types.submodule { freeformType = (pkgs.formats.json { }).type; };
|
type = lib.types.submodule { freeformType = (pkgs.formats.json { }).type; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user