diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-06-15 17:42:55 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-06-15 18:08:49 +0200 |
commit | 9366af1b94ed42b5e92a776b1ddc4ecd46e69ad1 (patch) | |
tree | e4461444ba22d3ad09edae074b1c31f9c12b547e /nixos/modules/services/x11/redshift.nix | |
parent | e212e07cf6aac9d9e1c46db34b17fd16be2399c3 (diff) | |
download | nixpkgs-9366af1b94ed42b5e92a776b1ddc4ecd46e69ad1.tar nixpkgs-9366af1b94ed42b5e92a776b1ddc4ecd46e69ad1.tar.gz nixpkgs-9366af1b94ed42b5e92a776b1ddc4ecd46e69ad1.tar.bz2 nixpkgs-9366af1b94ed42b5e92a776b1ddc4ecd46e69ad1.tar.lz nixpkgs-9366af1b94ed42b5e92a776b1ddc4ecd46e69ad1.tar.xz nixpkgs-9366af1b94ed42b5e92a776b1ddc4ecd46e69ad1.tar.zst nixpkgs-9366af1b94ed42b5e92a776b1ddc4ecd46e69ad1.zip |
"types.uniq types.string" -> "types.str"
Diffstat (limited to 'nixos/modules/services/x11/redshift.nix')
-rw-r--r-- | nixos/modules/services/x11/redshift.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/x11/redshift.nix b/nixos/modules/services/x11/redshift.nix index d73b58de6c0..4ccb9153526 100644 --- a/nixos/modules/services/x11/redshift.nix +++ b/nixos/modules/services/x11/redshift.nix @@ -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; }; }; }; |