20 lines
260 B
Nix
20 lines
260 B
Nix
{ pkgs, lib, ... }:
|
|
|
|
let
|
|
|
|
mpv = pkgs.symlinkJoin {
|
|
name = "mpv";
|
|
paths = [
|
|
(pkgs.writeDashBin "mpv" ''
|
|
exec ${pkgs.mpv}/bin/mpv --no-config "$@"
|
|
'')
|
|
pkgs.mpv
|
|
];
|
|
};
|
|
|
|
in {
|
|
environment.systemPackages = [
|
|
mpv
|
|
];
|
|
}
|