From a88e4e053cf38d69ea21b6cda43af5af63658d14 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 1 Apr 2022 18:03:29 +0200 Subject: [PATCH] Make commercial bluray disc playback work This requires the key database at ~/.config/aacs/KEYDB.cfg (note the case, I missed this at first). A guide for how to prepare it can be found on the Arch Wiki: https://wiki.archlinux.org/title/Blu-ray --- pkgs/default.nix | 5 +++++ users/simon/modules/programs.nix | 1 + 2 files changed, 6 insertions(+) diff --git a/pkgs/default.nix b/pkgs/default.nix index ecfb2a8..69d4274 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -15,6 +15,11 @@ in imprint = callPackage ./imprint { }; }; + libbluray = prev.libbluray.override { + withAACS = true; + withBDplus = true; + }; + # adapted from https://github.com/NixOS/nixpkgs/pull/85790 # TODO: Remove when memtest86+ ≥ 5.31b is in nixpkgs memtest86plus = prev.memtest86plus.overrideAttrs (o: o // rec { diff --git a/users/simon/modules/programs.nix b/users/simon/modules/programs.nix index 10314a3..e0f2a53 100644 --- a/users/simon/modules/programs.nix +++ b/users/simon/modules/programs.nix @@ -159,6 +159,7 @@ in inkscape # vector graphics editor # audio and video + libbluray # includes command line tools wf-recorder # wlroots screen recorder # documents