add a module that pins the registry or something

according to fufexan this supposedly does something
483680e121/system/nix/default.nix (L18-L19)
This commit is contained in:
jacekpoz 2024-01-20 01:24:03 +01:00
parent 60fb870c48
commit 7543a9999d
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C
2 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,6 @@
_: {
imports = [
./pin-registry.nix
./preserve-system.nix
./xdg.nix
];

View file

@ -0,0 +1,7 @@
{
inputs,
lib,
...
}: {
nix.registry = lib.mapAttrs (_: v: { flake = v; }) inputs;
}