Add brave browser module
This commit is contained in:
parent
5594dafa99
commit
614c21488e
@ -10,6 +10,7 @@
|
|||||||
./desktop/apps/slack.nix
|
./desktop/apps/slack.nix
|
||||||
./desktop/apps/thunderbird.nix
|
./desktop/apps/thunderbird.nix
|
||||||
./desktop/apps/zoom.nix
|
./desktop/apps/zoom.nix
|
||||||
|
./desktop/browsers/brave.nix
|
||||||
./desktop/browsers/firefox.nix
|
./desktop/browsers/firefox.nix
|
||||||
./desktop/gaming/emulators.nix
|
./desktop/gaming/emulators.nix
|
||||||
./desktop/gaming/lutris.nix
|
./desktop/gaming/lutris.nix
|
||||||
|
17
modules/desktop/browsers/brave.nix
Normal file
17
modules/desktop/browsers/brave.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user