+1
nixos/modules/services/backup/restic.nix
+1
nixos/modules/services/backup/restic.nix
+18
-18
nixos/tests/restic.nix
+18
-18
nixos/tests/restic.nix
·········'${pkgs.restic}/bin/restic -r ${remoteRepository} -p ${passwordFile} snapshots --json | ${pkgs.jq}/bin/jq "length | . == 1"',···# test that custompackage runs both `restic backup` and `restic check` with reasonable commandlines'${pkgs.restic}/bin/restic -r ${remoteRepository} -p ${passwordFile} snapshots --json | ${pkgs.jq}/bin/jq "length | . == 4"',
·········'${pkgs.restic}/bin/restic -r ${remoteRepository} -p ${passwordFile} snapshots --json | ${pkgs.jq}/bin/jq "length | . == 1"',···# test that custompackage runs both `restic backup` and `restic check` with reasonable commandlines'${pkgs.restic}/bin/restic -r ${remoteRepository} -p ${passwordFile} snapshots --json | ${pkgs.jq}/bin/jq "length | . == 4"',