summary refs log tree commit diff
path: root/nixos
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
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')
-rw-r--r--nixos/modules/services/networking/atftpd.nix2
-rw-r--r--nixos/modules/services/x11/redshift.nix8
-rw-r--r--nixos/modules/services/x11/unclutter.nix2
3 files changed, 6 insertions, 6 deletions
diff --git a/nixos/modules/services/networking/atftpd.nix b/nixos/modules/services/networking/atftpd.nix
index 47465ba948a..a9fd1e3ef8e 100644
--- a/nixos/modules/services/networking/atftpd.nix
+++ b/nixos/modules/services/networking/atftpd.nix
@@ -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.
         '';
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;
       };
     };
   };
diff --git a/nixos/modules/services/x11/unclutter.nix b/nixos/modules/services/x11/unclutter.nix
index 556d9e187fd..6e8719e1053 100644
--- a/nixos/modules/services/x11/unclutter.nix
+++ b/nixos/modules/services/x11/unclutter.nix
@@ -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;
     };
   };