Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7e10ecb763a1a6ce1de15066bcbfb04ab0c2dda1
      
https://github.com/NixOS/nixpkgs/commit/7e10ecb763a1a6ce1de15066bcbfb04ab0c2dda1
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-06-18 (Sun, 18 Jun 2017)

  Changed paths:
    M pkgs/applications/networking/browsers/chromium/common.nix

  Log Message:
  -----------
  chromium: Allow to put extensions in system path

This should allow us to easily add system-wide Chromium extensions via a
NixOS configuration similar to this:

{ pkgs, ... }: {
  environment.pathsToLink = [ "/share/chromium/extensions" ];
  environment.systemPackages = [ pkgs.my-shiny-extension ];
}

For more details about what Chromium expects within that directory, see:

https://developer.chrome.com/extensions/external_extensions

I've introduced this because of a personal desire to gain more control
about which extensions are installed and what they are able to do. All
of the extensions I use are free software, but despite that it's useful
to either easily patch them and also prevent unwanted automatic updates.

Tested this using the NixOS "chromium.stable" test on x86_64-linux.

Signed-off-by: aszlig <asz...@redmoonstudios.org>
Cc: @offlinehacker because of #21050


_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to