nixconf/modules/applications/firefox.nix
2024-05-11 00:44:17 +02:00

17 lines
291 B
Nix

{ lib, config, pkgs, ... }:
let
cfg = config.modules.apps.firefox;
in
{
options.modules.apps.firefox = {
enable = lib.mkEnableOption "enable firefox";
};
config = lib.mkIf cfg.enable {
programs.firefox = {
enable = true;
# TODO: add some default firefox settings
};
};
}