From 0480d793f114e38a65e3baba322a178e62cbe887 Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Sat, 12 Apr 2025 15:22:01 -0400 Subject: [PATCH] Make VLC on BigBoy play Bluray disks --- modules/hosts/nixos/bigboy/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/modules/hosts/nixos/bigboy/default.nix b/modules/hosts/nixos/bigboy/default.nix index 9e0a5dc..da78f5d 100644 --- a/modules/hosts/nixos/bigboy/default.nix +++ b/modules/hosts/nixos/bigboy/default.nix @@ -1,4 +1,12 @@ -{ inputs, config, pkgs, username, ... }: { +{ config, pkgs, username, ... }: + let + libbluray = pkgs.libbluray.override { + withAACS = true; + withBDplus = true; + }; + vlc-with-decoding = pkgs.vlc.override { inherit libbluray; }; + in +{ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ../../common/linux/flatpaks.nix @@ -14,7 +22,7 @@ environment.sessionVariables.NIXOS_OZONE_WL = "1"; - environment.systemPackages = with pkgs; [ + environment.systemPackages = with pkgs; [ angryipscanner displaylink filezilla @@ -29,7 +37,7 @@ slack tilix vivaldi - vlc + vlc-with-decoding xorg.xf86videofbdev xfce.xfce4-terminal zoom-us