Unverified Commit 5172d806 authored by Lukas Wurzinger's avatar Lukas Wurzinger
Browse files

nixos/rsync: remove assertion

parent 397c9378
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -119,15 +119,6 @@ in
  };

  config = lib.mkIf cfg.enable {
    assertions = [
      {
        assertion = lib.all (job: job.sources != [ ]) (lib.attrValues cfg.jobs);
        message = ''
          At least one source directory must be provided to rsync.
        '';
      }
    ];

    systemd = lib.mkMerge (
      lib.mapAttrsToList (
        jobName: job: