dotfiles/modules/apps/firefox/default.nix
2023-03-11 20:03:48 -08:00

17 lines
268 B
Nix

{
options,
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.aa.apps.firefox;
in {
options.aa.apps.firefox = with types; {
enable = mkEnableOption "firefox";
};
config = mkIf cfg.enable {environment.systemPackages = with pkgs; [firefox];};
}