1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

feat: make channels use system nixpkgs

This commit is contained in:
Ryan Cao 2023-12-29 21:30:16 +08:00
parent 6fbe70caec
commit 548e798bb6
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E

View file

@ -1,6 +1,7 @@
{
pkgs,
inputs,
config,
...
}: let
flakeOverlays = import ../overlays;
@ -12,6 +13,10 @@ in {
n.flake = inputs.nixpkgs;
};
nix.nixPath = [
"nixpkgs=${inputs.nixpkgs.outPath}"
];
nix.settings = {
experimental-features = "nix-command flakes";
build-users-group = "nixbld";
@ -29,6 +34,8 @@ in {
"crane.cachix.org-1:8Scfpmn9w+hGdXH/Q9tTLiYAE/2dnJYRJP7kl80GuRk="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
];
nix-path = config.nix.nixPath;
};
nixpkgs = {