Refactor: Avoid use folder for one file
All checks were successful
check / check (push) Successful in 32s
All checks were successful
check / check (push) Successful in 32s
Fix #3
This commit is contained in:
parent
c8d1f9f65a
commit
a425abee8b
34 changed files with 26 additions and 27 deletions
32
modules/home/apps/chromium.nix
Normal file
32
modules/home/apps/chromium.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.home.apps.chromium;
|
||||
in
|
||||
{
|
||||
options.modules.home.apps.chromium = {
|
||||
enable = mkEnableOption ''
|
||||
Enable chromium with my custom configurations
|
||||
'';
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
|
||||
package = pkgs.chromium.override {
|
||||
enableWideVine = true; # Enable DRM
|
||||
};
|
||||
|
||||
extensions = [
|
||||
{ id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } # Ublock Origin
|
||||
{ id = "nngceckbapebfimnlniiiahkandclblb"; } # Bitwarden
|
||||
{ id = "fnaicdffflnofjppbagibeoednhnbjhg"; } # Floccus Bookmark manager
|
||||
{ id = "fihnjjcciajhdojfnbdddfaoknhalnja"; } # I don't care about cookies
|
||||
{ id = "cimiefiiaegbelhefglklhhakcgmhkai"; } # Plasma Integration
|
||||
{ id = "eimadpbcbfnmbkopoojfekhnkhdbieeh"; } # Dark reader
|
||||
{ id = "mnjggcdmjocbbbhaepdhchncahnbgone"; } # SponsorBlock
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue