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

36 lines
676 B
Nix

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