nix_config/home/modules/browsers.nix

20 lines
288 B
Nix
Raw Normal View History

2024-11-21 08:47:28 +01:00
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.local.apps.browsers;
in {
options.local.apps.browsers = {
enable = mkEnableOption "Browser home settings";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
chromium
firefox
];
};
}