mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Desktop/Browser] vdhcoapp whitelist of Edge extension has been merged upstream
This commit is contained in:
parent
c2ece764da
commit
d6227b0255
1 changed files with 3 additions and 8 deletions
|
|
@ -55,15 +55,10 @@ in {
|
||||||
aviallon.desktop.browser.chromium.overrides.enableWideVine = true;
|
aviallon.desktop.browser.chromium.overrides.enableWideVine = true;
|
||||||
|
|
||||||
environment.etc = with builtins; let
|
environment.etc = with builtins; let
|
||||||
vdhcoappManifestFile = unsafeDiscardStringContext (readFile "${vdhcoapp}/etc/chromium/native-messaging-hosts/net.downloadhelper.coapp.json");
|
vdhcoappManifestFile = "${vdhcoapp}/etc/chromium/native-messaging-hosts/net.downloadhelper.coapp.json";
|
||||||
vdhcoappManifest = fromJSON (toString vdhcoappManifestFile);
|
|
||||||
moddedManifest = toJSON (recursiveUpdate vdhcoappManifest {
|
|
||||||
allowed_origins = vdhcoappManifest.allowed_origins ++ [ "chrome-extension://jmkaglaafmhbcpleggkmaliipiilhldn/" ];
|
|
||||||
});
|
|
||||||
manifestFile = pkgs.writeText "${vdhcoappManifest.name}.json" moddedManifest;
|
|
||||||
in {
|
in {
|
||||||
"chromium/native-messaging-hosts/net.downloadhelper.coapp.json".source =
|
"chromium/native-messaging-hosts/net.downloadhelper.coapp.json".source =
|
||||||
"${manifestFile}";
|
"${vdhcoappManifestFile}";
|
||||||
};
|
};
|
||||||
|
|
||||||
aviallon.programs.allowUnfreeList = [
|
aviallon.programs.allowUnfreeList = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue