mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
34 lines
772 B
Nix
34 lines
772 B
Nix
|
{
|
||
|
pkgs,
|
||
|
config,
|
||
|
lib,
|
||
|
...
|
||
|
}: let
|
||
|
inherit (lib) mkIf mkEnableOption;
|
||
|
cfg = config.vivaldi;
|
||
|
in {
|
||
|
options.vivaldi.enable = mkEnableOption "enable vivaldi + extensions";
|
||
|
config = mkIf cfg.enable {
|
||
|
programs.chromium = {
|
||
|
enable = true;
|
||
|
|
||
|
extensions = [
|
||
|
"nngceckbapebfimnlniiiahkandclblb" # bitwarden
|
||
|
"gfbliohnnapiefjpjlpjnehglfpaknnc" # surfingkeys
|
||
|
"pbmlfaiicoikhdbjagjbglnbfcbcojpj" # simplify gmail
|
||
|
"oemmndcbldboiebfnladdacbdfmadadm" # pdf viewer
|
||
|
"clngdbkpkpeebahjckkjfobafhncgmne" # stylus
|
||
|
];
|
||
|
};
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
(vivaldi.override {
|
||
|
commandLineArgs = [
|
||
|
"--force-dark-mode"
|
||
|
];
|
||
|
proprietaryCodecs = true;
|
||
|
})
|
||
|
];
|
||
|
};
|
||
|
}
|