Don't be stupid with syntaxing

This commit is contained in:
Jimbo 2024-09-03 01:25:38 -04:00
parent 1b8721c683
commit b42fae82dc
2 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{
{config, inputs, lib, ...}: {
# This will add each flake input as a registry
# To make nix commands consistent with your flake
nix.registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs);