1
0

Add non-free (with DRM) version of chromium

This commit is contained in:
dump_stack() 2022-05-11 14:28:21 +00:00
parent 9cf6ad9da5
commit d2e1081197
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -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";