Add non-free (with DRM) version of chromium
This commit is contained in:
parent
9cf6ad9da5
commit
d2e1081197
10
packages.nix
10
packages.nix
@ -2,7 +2,10 @@
|
||||
|
||||
let
|
||||
unstable = import <unstable> {};
|
||||
nonfree = import <nixos> { config.allowUnfree = true; };
|
||||
nonfree = import <nixos> {
|
||||
config.allowUnfree = true;
|
||||
chromium.enableWideVine = true;
|
||||
};
|
||||
ghidra = pkgs.ghidra-bin.overrideAttrs (attrs: {
|
||||
installPhase = ''
|
||||
${attrs.installPhase}
|
||||
@ -135,6 +138,11 @@ in {
|
||||
--start-maximized \
|
||||
$@
|
||||
'')
|
||||
(writeShellScriptBin "chromium-nonfree" ''
|
||||
${nonfree.chromium}/bin/chromium --force-dark-mode \
|
||||
--start-maximized \
|
||||
$@
|
||||
'')
|
||||
|
||||
(stdenv.mkDerivation {
|
||||
pname = "imjtool";
|
||||
|
Loading…
Reference in New Issue
Block a user