2021-07-29 12:17:41 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
|
|
cfg = config.my.home.firefox;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.my.home.firefox = with lib; {
|
|
|
|
enable = (mkEnableOption "firefox config") // { default = config.my.home.x.enable; };
|
|
|
|
};
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
programs.firefox = {
|
|
|
|
enable = true;
|
2021-08-19 23:34:41 +02:00
|
|
|
package = pkgs.firefox.override {
|
2021-07-29 12:17:41 +02:00
|
|
|
cfg = {
|
|
|
|
enableTridactylNative = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|