blob: 3b87b4c0220f073ee1d8db2286a1b96a118b46ac (
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
|
{
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
];
};
};
};
}
|