1
1
Fork 0
nixos/options/custom/programs/firefox/firefox.nix
Myned e325b0984c
firefox: move css into separate file
Signed-off-by: Myned <dev@bjork.tech>
2025-02-16 20:53:12 -06:00

35 lines
652 B
Nix

{
config,
inputs,
lib,
pkgs,
...
}:
with lib; let
cfg = config.custom.programs.firefox;
in {
options.custom.programs.firefox = {
enable = mkOption {default = false;};
};
config = mkIf cfg.enable {
home-manager.sharedModules = [
{
# https://www.mozilla.org/en-US/firefox/developer
programs.firefox = mkMerge [
(import "${inputs.self}/modules/firefox/default.nix" {inherit config inputs lib pkgs;})
{
enable = true;
}
];
home.file = {
".mozilla/profiles.ini" = {
force = true;
};
};
}
];
};
}