"types.uniq types.string" -> "types.str"

This commit is contained in:
Eelco Dolstra 2015-06-15 17:42:55 +02:00
parent e212e07cf6
commit 9366af1b94
3 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ in
root = mkOption {
default = "/var/empty";
type = types.uniq types.string;
type = types.str;
description = ''
Document root directory for the atftpd.
'';

View File

@ -14,12 +14,12 @@ in {
services.redshift.latitude = mkOption {
description = "Your current latitude";
type = types.uniq types.string;
type = types.str;
};
services.redshift.longitude = mkOption {
description = "Your current longitude";
type = types.uniq types.string;
type = types.str;
};
services.redshift.temperature = {
@ -39,12 +39,12 @@ in {
day = mkOption {
description = "Screen brightness to apply during the day (between 0.1 and 1.0)";
default = "1";
type = types.uniq types.string;
type = types.str;
};
night = mkOption {
description = "Screen brightness to apply during the night (between 0.1 and 1.0)";
default = "1";
type = types.uniq types.string;
type = types.str;
};
};
};

View File

@ -13,7 +13,7 @@ in {
services.unclutter.arguments = mkOption {
description = "Arguments to pass to unclutter command";
default = "-idle 1";
type = types.uniq types.string;
type = types.str;
};
};