nix-config/nix/pkgs.nix

29 lines
630 B
Nix
Raw Permalink Normal View History

2024-11-03 21:34:38 +01:00
{ inputs, self, ... }:
2024-08-08 21:38:44 +02:00
{
imports = [
(
{ lib, flake-parts-lib, ... }:
flake-parts-lib.mkTransposedPerSystemModule {
name = "pkgs";
file = ./pkgs.nix;
option = lib.mkOption { type = lib.types.unspecified; };
}
)
];
perSystem =
{ pkgs, system, ... }:
{
2024-11-03 21:34:38 +01:00
_module.args.pkgs = import self.nixpkgs-patched {
2024-08-08 21:38:44 +02:00
inherit system;
config.allowUnfree = true;
2024-08-19 16:13:36 +02:00
overlays = (import ../pkgs inputs) ++ [
2024-08-08 21:38:44 +02:00
inputs.nix-topology.overlays.default
inputs.nixos-extra-modules.overlays.default
];
};
inherit pkgs;
};
}