From b73ea3b5dec308056bc84f142b16f939334ed2a8 Mon Sep 17 00:00:00 2001 From: derped Date: Sat, 26 Aug 2023 08:53:39 +0200 Subject: [PATCH] Add pinned nix stable and git checkout to registry. --- config/nix.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/nix.nix b/config/nix.nix index c693596..f964444 100644 --- a/config/nix.nix +++ b/config/nix.nix @@ -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;