dotfiles/modules/nixos/apps/firefox/default.nix

17 lines
268 B
Nix
Raw Normal View History

2023-03-12 03:59:11 +00:00
{
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];};
}