18 lines
314 B
Nix
18 lines
314 B
Nix
{ 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
|
|
];
|
|
};
|
|
}
|