Update browsers

This commit is contained in:
DashieTM 2024-09-29 12:48:39 +02:00
parent 10adafe703
commit b72d409a5a
15 changed files with 262 additions and 67 deletions

View file

@ -0,0 +1,23 @@
{
lib,
config,
options,
pkgs,
...
}:
{
options.mods.browser.brave = {
enable = lib.mkOption {
default = false;
example = true;
type = lib.types.bool;
description = "Enables brave";
};
# TODO configure brave
};
config = lib.mkIf config.mods.browser.brave.enable (
lib.optionalAttrs (options ? home.packages) {
home.packages = with pkgs; [ brave ];
}
);
}