flake: share nixpkgs config to the per-system instance

This commit is contained in:
Gabriel Arazas 2024-07-27 20:44:11 +08:00
parent 8a044c3eca
commit 570bb1e685
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -1,4 +1,4 @@
{ inputs, lib, ... }: {
{ inputs, config, lib, ... }: {
imports = [
./dev.nix
./packages.nix
@ -39,7 +39,7 @@
# for building NixOS and home-manager systems.
pkgs = import inputs.nixpkgs {
inherit system;
config.allowUnfree = true;
config = config.setups.sharedNixpkgsConfig;
overlays = lib.attrValues inputs.self.overlays ++ [
inputs.nur.overlay
];