summary refs log tree commit diff
path: root/nixos/modules/services/x11/redshift.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-15 17:42:55 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-15 18:08:49 +0200
commit9366af1b94ed42b5e92a776b1ddc4ecd46e69ad1 (patch)
treee4461444ba22d3ad09edae074b1c31f9c12b547e /nixos/modules/services/x11/redshift.nix
parente212e07cf6aac9d9e1c46db34b17fd16be2399c3 (diff)
downloadnixpkgs-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.nix8
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;
       };
     };
   };