From ba7a509a3384d22914364e803ed0fa7422bc0a39 Mon Sep 17 00:00:00 2001 From: servostar Date: Fri, 17 Nov 2023 16:30:35 +0100 Subject: [PATCH] moved bluray deps to extra --- configuration.nix | 6 +----- extra/bluray.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 extra/bluray.nix diff --git a/configuration.nix b/configuration.nix index 5a81029..5e08e76 100644 --- a/configuration.nix +++ b/configuration.nix @@ -20,6 +20,7 @@ in ./.luks-swap.nix ./fonts.nix ./extra/dvd.nix + ./extra/bluray.nix ]; hardware.bluetooth.enable = true; @@ -196,11 +197,6 @@ in openocd # on-chip programming and debugging support avrdude # esp32 and others support - libdvdcss - libaacs - libbdplus - libbluray - devbox filelight ffmpeg-full diff --git a/extra/bluray.nix b/extra/bluray.nix new file mode 100644 index 0000000..769e2b9 --- /dev/null +++ b/extra/bluray.nix @@ -0,0 +1,14 @@ +{ pkgs, config, ... }: { + # libaacs requires some extra configuration + # an extra VUK database setup in the users XDG config directory + # can be downloaded from: http://fvonline-db.bplaced.net/ + # and must be placed in: ~/.config/aaacs/KEYDB.cfg + + # packages needed for decrypting Blurays + environment.systemPackages = with pkgs; [ + libdvdcss + libaacs + libbdplus + libbluray + ]; +}