sort nix.nix

This commit is contained in:
Gerg-L 2023-09-12 06:22:38 -04:00
parent af43d70734
commit 6fd00910c9
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI

View file

@ -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"