mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: refactored overlays
This commit is contained in:
parent
f380d20530
commit
fa6e8926f1
2 changed files with 7 additions and 22 deletions
|
|
@ -12,7 +12,13 @@ let
|
|||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ (_: _: import ./overlays.nix inputs system) ];
|
||||
overlays = [
|
||||
(
|
||||
_: prev:
|
||||
# extend pkgs with other inputs
|
||||
prev.lib.mapAttrs (name: input: input.packages.${system}.default) inputs
|
||||
)
|
||||
];
|
||||
config.allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (nixpkgs.lib.getName pkg) [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue