modify firefox config, to use flake packages as extension

This commit is contained in:
Ulic-youthlic 2025-01-08 17:43:27 +08:00
parent 2235747c47
commit ec814431ff
3 changed files with 31 additions and 10 deletions

View file

@ -71,6 +71,23 @@
in
flake-parts.lib.mkFlake { inherit inputs; } {
systems = flake-utils.lib.defaultSystems;
perSystem = (
{ pkgs, system, ... }@args:
{
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
packages = import ./pkgs (
args
// {
inherit inputs;
}
);
}
);
flake =
{
nix.settings = {