From 0cb7f9eb7f2e9580290fba40cdb098fc0dd97fa4 Mon Sep 17 00:00:00 2001 From: derped Date: Sat, 15 Apr 2023 13:59:38 +0200 Subject: [PATCH] Pin local nixpkgs flake to system version. --- config/nix.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/nix.nix b/config/nix.nix index b6b1141..427d0dd 100644 --- a/config/nix.nix +++ b/config/nix.nix @@ -1,10 +1,11 @@ -{ pkgs, config, lib, ... }: +{ nixpkgs, pkgs, config, lib, ... }: let cfg = config.machine; in { nix = { package = pkgs.nix; + registry.nixpkgs.flake = nixpkgs; settings = { max-jobs = 4; cores = 1;