dotfiles/nixos/common/nixpkgs.nix

18 lines
285 B
Nix
Raw Normal View History

{ inputs', lib, ... }:
let
inherit (lib)
flip
mapAttrs;
in
{
nix.registry =
flip mapAttrs inputs'
(
n: flake: {inherit flake;}
);
nix.settings = {
experimental-features = [ "flakes" "nix-command" ];
};
nixpkgs.config.allowUnfree = true;
}