summary refs log tree commit diff
path: root/nixos/modules/services/misc/nix-gc.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-30 11:02:04 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-30 14:57:42 +0100
commit862e3dd977cdd853c3ab3202ab1b73561f8a3ea1 (patch)
tree43e95414e328ac92383bccf41219c30fa9729473 /nixos/modules/services/misc/nix-gc.nix
parent162b874469935923dec02cc9a6b5f58b1c8267a8 (diff)
downloadnixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar
nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.gz
nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.bz2
nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.lz
nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.xz
nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.tar.zst
nixpkgs-862e3dd977cdd853c3ab3202ab1b73561f8a3ea1.zip
Substitute "types.uniq types.string" -> "types.str"
Diffstat (limited to 'nixos/modules/services/misc/nix-gc.nix')
-rw-r--r--nixos/modules/services/misc/nix-gc.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/misc/nix-gc.nix b/nixos/modules/services/misc/nix-gc.nix
index 0d7bc13b2ee..fa20e0956f5 100644
--- a/nixos/modules/services/misc/nix-gc.nix
+++ b/nixos/modules/services/misc/nix-gc.nix
@@ -22,7 +22,7 @@ in
 
       dates = mkOption {
         default = "03:15";
-        type = types.uniq types.string;
+        type = types.str;
         description = ''
           Specification (in the format described by
           <citerefentry><refentrytitle>systemd.time</refentrytitle>
@@ -34,7 +34,7 @@ in
       options = mkOption {
         default = "";
         example = "--max-freed $((64 * 1024**3))";
-        type = types.uniq types.string;
+        type = types.str;
         description = ''
           Options given to <filename>nix-collect-garbage</filename> when the
           garbage collector is run automatically.