mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-04 21:43:15 -06:00
add default extensions to vivaldi/chrome
This commit is contained in:
parent
dbd4159002
commit
1da7e1ff0b
4 changed files with 38 additions and 8 deletions
|
@ -12,6 +12,7 @@
|
|||
|
||||
cli.enable = true;
|
||||
desktop.enable = true;
|
||||
vivaldi.enable = true;
|
||||
|
||||
languages = {
|
||||
misc = true;
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
hyprland
|
||||
|
||||
gui
|
||||
vscode
|
||||
|
||||
# langs
|
||||
python
|
||||
|
@ -28,6 +27,10 @@
|
|||
node
|
||||
tex
|
||||
nim
|
||||
|
||||
# programs
|
||||
vivaldi
|
||||
vscode
|
||||
];
|
||||
|
||||
options.desktop.enable = lib.mkEnableOption "is desktop";
|
||||
|
|
|
@ -19,13 +19,6 @@ in {
|
|||
|
||||
libreoffice-qt
|
||||
hunspell # spell check for libreoffice
|
||||
|
||||
(vivaldi.override {
|
||||
commandLineArgs = [
|
||||
"--force-dark-mode"
|
||||
];
|
||||
proprietaryCodecs = true;
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
33
modules/programs/vivaldi.nix
Normal file
33
modules/programs/vivaldi.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
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;
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue