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

View file

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