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
|
let
|
||||||
unstable = import <unstable> {};
|
unstable = import <unstable> {};
|
||||||
nonfree = import <nixos> { config.allowUnfree = true; };
|
nonfree = import <nixos> {
|
||||||
|
config.allowUnfree = true;
|
||||||
|
chromium.enableWideVine = true;
|
||||||
|
};
|
||||||
ghidra = pkgs.ghidra-bin.overrideAttrs (attrs: {
|
ghidra = pkgs.ghidra-bin.overrideAttrs (attrs: {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
${attrs.installPhase}
|
${attrs.installPhase}
|
||||||
@ -135,6 +138,11 @@ in {
|
|||||||
--start-maximized \
|
--start-maximized \
|
||||||
$@
|
$@
|
||||||
'')
|
'')
|
||||||
|
(writeShellScriptBin "chromium-nonfree" ''
|
||||||
|
${nonfree.chromium}/bin/chromium --force-dark-mode \
|
||||||
|
--start-maximized \
|
||||||
|
$@
|
||||||
|
'')
|
||||||
|
|
||||||
(stdenv.mkDerivation {
|
(stdenv.mkDerivation {
|
||||||
pname = "imjtool";
|
pname = "imjtool";
|
||||||
|
Loading…
Reference in New Issue
Block a user