mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
"types.uniq types.string" -> "types.str"
This commit is contained in:
parent
e212e07cf6
commit
9366af1b94
@ -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.
|
||||
'';
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user