Antoine Martin
bdd0748620
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. :)
21 lines
414 B
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|