This repository has been archived on 2026-04-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
server-config/tests/jellyfin-test-lib.nix
Simon Gardling 297264a34a
Some checks failed
Build and Deploy / deploy (push) Failing after 2m35s
tests: extract shared jellyfin test helpers and use real jellyfin in annotations test
2026-04-01 11:24:44 -04:00

21 lines
461 B
Nix

{ pkgs, lib }:
{
payloads = {
auth = pkgs.writeText "auth.json" (builtins.toJSON { Username = "jellyfin"; });
empty = pkgs.writeText "empty.json" (builtins.toJSON { });
};
helpers = ./jellyfin-test-lib.py;
jellyfinTestConfig =
{ pkgs, ... }:
{
services.jellyfin.enable = true;
environment.systemPackages = with pkgs; [
curl
ffmpeg
];
virtualisation.diskSize = lib.mkDefault (3 * 1024);
};
}