From c56e5b670b11892fc479f36ad18370533a4a914f Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Fri, 6 Dec 2024 01:55:43 +0300 Subject: [PATCH] Nix: Use flake input as registry. --- system/Nix.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/system/Nix.nix b/system/Nix.nix index 9434608..436c758 100644 --- a/system/Nix.nix +++ b/system/Nix.nix @@ -1,6 +1,10 @@ -{ ... }: { +{ + inputs, + ... +}: { nixpkgs.config.allowUnfree = true; nixpkgs.config.allowInsecurePredicate = x: true; # HACK: Nix is fucking annoying. + nix.registry.nixpkgs.flake = inputs.nixpkgs; nix.settings = { auto-optimise-store = true; keep-derivations = true;