meta: Allow the playback of Bluray disks
This commit is contained in:
15
modules/programs/bluray/default.nix
Normal file
15
modules/programs/bluray/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.ptw.programs.bluray;
|
||||
in {
|
||||
options.ptw.programs.bluray = {
|
||||
enable = lib.mkEnableOption "Enable bluray playback and decoding. Will rebuild a lot of packages";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
nixpkgs.config.overlays = [
|
||||
(import ../../../overlays/bluray.nix)
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user