"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 { root = mkOption {
default = "/var/empty"; default = "/var/empty";
type = types.uniq types.string; type = types.str;
description = '' description = ''
Document root directory for the atftpd. Document root directory for the atftpd.
''; '';

View File

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

View File

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