about summary refs log tree commit diff
path: root/nixos/modules/services/misc/nix-gc.nix
diff options
context:
space:
mode:
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 0d7bc13b2ee6..fa20e0956f59 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.