mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 18:19:09 +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 = [
|
imports = [
|
||||||
./dev.nix
|
./dev.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
@ -39,7 +39,7 @@
|
|||||||
# for building NixOS and home-manager systems.
|
# for building NixOS and home-manager systems.
|
||||||
pkgs = import inputs.nixpkgs {
|
pkgs = import inputs.nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config = config.setups.sharedNixpkgsConfig;
|
||||||
overlays = lib.attrValues inputs.self.overlays ++ [
|
overlays = lib.attrValues inputs.self.overlays ++ [
|
||||||
inputs.nur.overlay
|
inputs.nur.overlay
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user