purify package overrides
This commit is contained in:
parent
432bc05190
commit
2fcba2b35f
14
flake.nix
14
flake.nix
|
@ -34,10 +34,16 @@
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
packageOverrides = pkgs:
|
packageOverrides = pkgs:
|
||||||
let sources = import ./npins;
|
let
|
||||||
in {
|
sources = import ./npins;
|
||||||
agenix = agenix.packages.${config.nixpkgs.hostPlatform.system}.default;
|
inherit (config.nixpkgs.hostPlatform) system;
|
||||||
nur = (import sources.nur { inherit pkgs; });
|
in
|
||||||
|
{
|
||||||
|
agenix = agenix.packages.${system}.default;
|
||||||
|
nur = (import sources.nur {
|
||||||
|
nurpkgs = pkgs;
|
||||||
|
inherit pkgs;
|
||||||
|
});
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue