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