mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
18 lines
384 B
Nix
18 lines
384 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;
|
|
programs.chromium.enable = true;
|
|
|
|
home.packages = with pkgs; [
|
|
tor-browser vieb
|
|
];
|
|
home.file.".config/Vieb/viebrc".source = ./config/viebrc;
|
|
};
|
|
}
|