meta: Allow the playback of Bluray disks
This commit is contained in:
1 parent
f981ff5bf6
commit
95a96882b0
12 files changed
+128
-32
No files matched your search
@@ -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