1
0
Fork 0

Add pinned nix stable and git checkout to registry.

This commit is contained in:
Kevin Baensch 2023-08-26 08:53:39 +02:00
parent 4c79467426
commit b73ea3b5de
Signed by: derped
GPG Key ID: C0F1D326C7626543
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ nixpkgs, pkgs, config, lib, ... }:
{ nixpkgs, nixpkgs-git, nixpkgs-stable, pkgs, config, lib, ... }:
let
cfg = config.machine;
@ -6,7 +6,11 @@ let
in {
nix = {
package = pkgs.nix;
registry.nixpkgs.flake = nixpkgs;
registry = {
nixpkgs.flake = nixpkgs;
nixpkgs-git.flake = nixpkgs-git;
nixpkgs-stable.flake = nixpkgs-stable;
};
settings = {
max-jobs = 4;
cores = 1;