blob: 4f0ae12847e035a30b7f618bd696c07c83ee2198 (
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.chromium;
extensions = [
{id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";} # uBlock Origin
];
};
};
};
}
|