Add tooling to watch and backup DVDs and Blu-rays

This is all about backing my stuff up from physical disk to Jellyfin for
personal consumption.
This commit is contained in:
Gene Liverman 2024-12-23 10:38:41 -05:00
parent 6ff6bb3f9f
commit 3225c34bd0
3 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,20 @@
{ pkgs, ... }: {
# Be sure this is added if on NixOS
# boot.kernelModules = [ "sg" ];
# Also, get KEYDB.cfg per https://wiki.archlinux.org/title/Blu-ray
environment.systemPackages = with pkgs; [
handbrake
libaacs
libbdplus
libbluray
libdvdcss
libdvdnav
libdvdread
makemkv
mkvtoolnix
mkvtoolnix-cli
];
}

View file

@ -2,6 +2,7 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../common/linux/flatpaks.nix ../../common/linux/flatpaks.nix
../../common/linux/ripping.nix
]; ];
system.stateVersion = "23.05"; system.stateVersion = "23.05";

View file

@ -11,7 +11,7 @@
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.kernelPackages = pkgs.linuxPackages_zen; boot.kernelPackages = pkgs.linuxPackages_zen;
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" "sg" ];
boot.kernelParams = [ boot.kernelParams = [
"i915.enable_fbc=1" "i915.enable_fbc=1"
"i915.enable_psr=2" "i915.enable_psr=2"