stockholm/lass/2configs/mpv.nix
2017-08-25 23:48:16 +02:00

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
];
}