blob: bc34ecd958d84f1566a6528fc9d248c09037565e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{
config,
lib,
pkgs,
...
}:
with lib;
let
cfg = config.nixfiles.modules.chromium;
in
{
options.nixfiles.modules.chromium.enable = mkEnableOption "Chromium";
config = mkIf cfg.enable {
hm = {
home.packages = with pkgs; [ profile-cleaner ];
programs.chromium = {
enable = true;
# package = pkgs.ungoogled-chromium;
extensions = [
{ id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } # uBlock Origin
{ id = "nkbihfbeogaeaoehlefnkodbefgpgknn"; } # MetaMask
];
};
};
};
}
|