diff options
-rw-r--r-- | pkgs/populate/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/populate/default.nix b/pkgs/populate/default.nix index 3e02aea..acabc02 100644 --- a/pkgs/populate/default.nix +++ b/pkgs/populate/default.nix @@ -156,11 +156,11 @@ let source_path=$source_path/ fi ${rsync}/bin/rsync \ - ${optionalString config.useChecksum /* sh */ "--checksum"} \ + ${optionalString (config.useChecksum or false) /* sh */ "--checksum"} \ ${optionalString target.sudo /* sh */ "--rsync-path=\"sudo rsync\""} \ ${concatMapStringsSep " " (pattern: /* sh */ "--exclude ${quote pattern}") - config.exclude} \ + (config.exclude or [])} \ -e ${quote (ssh' target)} \ -vFrlptD \ --delete-excluded \ |