From 3b39d0b576fb2e0ff3edab2abe076839c809b062 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Mon, 5 May 2025 21:33:13 +0200 Subject: [PATCH] Fuck global registries --- modules/cli/nix/nix.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/cli/nix/nix.nix b/modules/cli/nix/nix.nix index 38aada7..5e1b10b 100644 --- a/modules/cli/nix/nix.nix +++ b/modules/cli/nix/nix.nix @@ -1,7 +1,8 @@ -{pkgs, ...}: { +{pkgs, inputs, ...}: { nix = { optimise.automatic = true; channel.enable = false; + registry = { nixpkgs.flake = inputs.nixpkgs; }; settings = { warn-dirty = false; experimental-features = ["nix-command" "flakes"];