Add pinned nix stable and git checkout to registry.
This commit is contained in:
parent
4c79467426
commit
b73ea3b5de
1 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue