Don't use types.string.

This commit is contained in:
Kevin Baensch 2019-09-05 15:20:56 +02:00
parent fd14a260c0
commit 57f811abc7

View file

@ -11,19 +11,19 @@ with lib;
''; '';
}; };
pkgs = mkOption { pkgs = mkOption {
type = types.listOf types.string; type = types.listOf types.str;
description = '' description = ''
The list of metapackages to be installed. The list of metapackages to be installed.
''; '';
}; };
services = mkOption { services = mkOption {
type = types.listOf types.string; type = types.listOf types.str;
description = '' description = ''
List of services to be enabled. List of services to be enabled.
''; '';
}; };
conffiles = mkOption { conffiles = mkOption {
type = types.listOf types.string; type = types.listOf types.str;
description = '' description = ''
List of configuration files to be enabled. List of configuration files to be enabled.
''; '';
@ -35,7 +35,7 @@ with lib;
''; '';
}; };
secretPath = mkOption { secretPath = mkOption {
type = types.string; type = types.str;
default = "/secret"; default = "/secret";
description = '' description = ''
Path to you systems secret folder containing files with sensitive information. Path to you systems secret folder containing files with sensitive information.
@ -67,7 +67,7 @@ with lib;
''; '';
}; };
desktop.wms = mkOption { desktop.wms = mkOption {
type = types.listOf types.string; type = types.listOf types.str;
default = []; default = [];
description = '' description = ''
The list of wms to be enabled. The list of wms to be enabled.