nixos-config/home/firefox.nix
Antoine Martin bdd0748620 flake: switch back entire config to unstable
Mixing stable and unstable brought me weird problems, so I'm switching
back to unstable entirely until it breaks hard enough to convince me to
go back to stable. :)
2021-08-19 23:34:41 +02:00

21 lines
414 B
Nix

{ 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;
package = pkgs.firefox.override {
cfg = {
enableTridactylNative = true;
};
};
};
};
}