mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
flake: share nixpkgs config to the per-system instance
This commit is contained in:
parent
8a044c3eca
commit
570bb1e685
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user