Don't try to install a system mpv
This commit is contained in:
parent
46855eb036
commit
f00e6bda8e
|
@ -1,5 +1,12 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
let
|
||||||
|
ffmpeg = pkgs.ffmpeg-full.override { nonfreeLicensing = true; fdkaacExtlib = true; };
|
||||||
|
scripts = with pkgs.mpvScripts; [ sponsorblock ];
|
||||||
|
mpv = pkgs.wrapMpv (pkgs.mpv-unwrapped.override { inherit ffmpeg; }) { inherit scripts; };
|
||||||
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
home.packages = [ ffmpeg ];
|
||||||
programs.mpv = {
|
programs.mpv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = {
|
config = {
|
||||||
|
|
|
@ -1,18 +1,14 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
llvm = pkgs.llvmPackages_12;
|
llvm = pkgs.llvmPackages_12;
|
||||||
ffmpeg-nonfree = pkgs.ffmpeg-full.override { nonfreeLicensing = true; fdkaacExtlib = true; };
|
|
||||||
mpv = pkgs.wrapMpv (pkgs.mpv-unwrapped.override { ffmpeg = ffmpeg-nonfree; }) { };
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
environment.systemPackages = (with pkgs; [
|
environment.systemPackages = (with pkgs; [
|
||||||
# Audiovisual
|
# Audiovisual
|
||||||
darktable
|
darktable
|
||||||
exiftool
|
exiftool
|
||||||
ffmpeg-nonfree
|
|
||||||
flac
|
flac
|
||||||
lame
|
lame
|
||||||
mpv
|
|
||||||
opusTools
|
opusTools
|
||||||
pavucontrol
|
pavucontrol
|
||||||
youtubeDL
|
youtubeDL
|
||||||
|
|
Loading…
Reference in a new issue