feat: Add nixpkgs-patcher for patch nixpkgs

This commit is contained in:
ulic-youthlic 2026-02-20 12:23:35 +08:00
parent 415e9862b6
commit a31f6cdcee
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
6 changed files with 85 additions and 54 deletions

View file

@ -14,9 +14,11 @@
inputs',
...
}: let
inherit (inputs) nixpkgs;
patchedNixpkgs = lib.nixpkgs-patcher.patchNixpkgs {
inherit system inputs;
};
in {
_module.args.pkgs = import nixpkgs {
_module.args.pkgs = import patchedNixpkgs {
localSystem = {inherit system;};
config = {
allowUnfree = true;