mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-12-03 11:26:35 +00:00
Chromium: Install uBlock Origin and HTTPS Everywhere by default
This commit is contained in:
parent
2dae4eb5a3
commit
4493d38947
|
@ -5,6 +5,17 @@
|
|||
<nix/base.nix>
|
||||
];
|
||||
|
||||
environment.etc."chromium/policies/managed/plugins.json".text = ''
|
||||
{
|
||||
"ExtensionInstallForcelist": [
|
||||
// uBlock Origin (https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm)
|
||||
"cjpalhdlnbpafiamejdnhcphjbkeiagm;https://clients2.google.com/service/update2/crx",
|
||||
// HTTPS Everywhere (https://chrome.google.com/webstore/detail/https-everywhere/gcbommkclmclpchllfjekcdonpmejbdp)
|
||||
"gcbommkclmclpchllfjekcdonpmejbdp;https://clients2.google.com/service/update2/crx",
|
||||
]
|
||||
}
|
||||
'';
|
||||
|
||||
environment.systemPackages = [ pkgs.chromium ];
|
||||
services.xserver.displayManager.sessionCommands = "while [ 1 ]; do ${pkgs.chromium}/bin/chromium; done &";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue