{ inputs, lib, config, ... }: { nix = { settings = { experimental-features = "nix-command flakes"; auto-optimise-store = true; allowed-users = ["@wheel"]; }; # gc = { # automatic = true; # dates = "weekly"; # options = "--delete-older-than +3"; # }; registry = lib.mapAttrs (_: value: {flake = value;}) inputs; nixPath = lib.mapAttrsToList (key: value: "${key}=${value.to.path}") config.nix.registry; }; }