Add brave browser module

This commit is contained in:
Jordan Holt 2024-06-22 16:03:39 +01:00
parent 5594dafa99
commit 614c21488e
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
2 changed files with 18 additions and 0 deletions

View File

@ -10,6 +10,7 @@
./desktop/apps/slack.nix
./desktop/apps/thunderbird.nix
./desktop/apps/zoom.nix
./desktop/browsers/brave.nix
./desktop/browsers/firefox.nix
./desktop/gaming/emulators.nix
./desktop/gaming/lutris.nix

View File

@ -0,0 +1,17 @@
{ config, lib, pkgs, inputs, ... }:
let cfg = config.modules.desktop.browsers.brave;
in {
options.modules.desktop.browsers.brave = {
enable = lib.mkOption {
default = false;
example = true;
};
};
config = lib.mkIf cfg.enable {
user.packages = with pkgs; [
brave
];
};
}