nixconf/modules/applications/firefox.nix
2024-08-21 21:06:39 +02:00

21 lines
373 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
nativeMessagingHosts = [
pkgs.passff-host
];
};
};
}