nixos/homeConfig/modules/browsers/default.nix
2024-01-28 07:53:55 -05:00

16 lines
280 B
Nix

{ pkgs, lib, config, ... }:
with lib;
let
cfg = config.modules.browsers;
in
{ options.modules.browsers = { enable = mkEnableOption "browsers"; };
config = mkIf cfg.enable {
programs.firefox.enable = true;
home.packages = with pkgs; [
tor-browser
];
};
}