home: add google chrome and disable chromium by default

This commit is contained in:
Aly Raffauf 2024-04-08 11:43:48 -04:00
parent c469761495
commit 8d474f57ca
2 changed files with 12 additions and 1 deletions

View file

@ -10,6 +10,7 @@
./firefox
./fractal
./fuzzel
./google-chrome
./librewolf
./mako
./obsidian
@ -23,9 +24,10 @@
];
guiApps.alacritty.enable = lib.mkDefault true;
guiApps.chromium.enable = lib.mkDefault true;
guiApps.chromium.enable = lib.mkDefault false;
guiApps.firefox.enable = lib.mkDefault true;
guiApps.fractal.enable = lib.mkDefault true;
guiApps.google-chrome.enable = lib.mkDefault true;
guiApps.obsidian.enable = lib.mkDefault true;
guiApps.tauon.enable = lib.mkDefault true;
guiApps.thunderbird.enable = lib.mkDefault true;

View file

@ -0,0 +1,9 @@
{ pkgs, lib, config, ... }: {
options = {
guiApps.google-chrome.enable = lib.mkEnableOption "Enable Google Chrome.";
};
config = lib.mkIf config.guiApps.google-chrome.enable {
home.packages = with pkgs; [ google-chrome ];
};
}