From 6fd00910c96f4c08c17d0cb68e15c1da3ddda92b Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Tue, 12 Sep 2023 06:22:38 -0400 Subject: [PATCH] sort nix.nix --- modules/nix.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/nix.nix b/modules/nix.nix index c1b29f9..593ab26 100644 --- a/modules/nix.nix +++ b/modules/nix.nix @@ -13,6 +13,10 @@ in { nix.nixPath = lib.mapAttrsToList (x: _: "${x}=flake:${x}") flakes; nix.registry = lib.mapAttrs (_: flake: {inherit flake;}) flakes; # + # Ignore global registry + # + nix.settings.flake-registry = ""; + # # Use nix directly from master # nix.package = inputs.nix.packages.${pkgs.system}.default; @@ -20,11 +24,6 @@ in { # Other nix settings # nix.settings = { - # - # Ignore global registry - # - flake-registry = builtins.toFile "empty-flake-registry.json" ''{"flakes":[],"version":2}''; - experimental-features = [ "auto-allocate-uids" "ca-derivations"