helm/modules/desktop/media/mpv.nix
Henrik Lissner 93cada691e Remove celluloid
Unused and unneeded GUI for mpv.
2021-02-15 13:16:18 -05:00

18 lines
322 B
Nix

{ config, options, lib, pkgs, ... }:
with lib;
with lib.my;
let cfg = config.modules.desktop.media.mpv;
in {
options.modules.desktop.media.mpv = {
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {
user.packages = with pkgs; [
mpv-with-scripts
mpvc # CLI controller for mpv
];
};
}