forked from poz/niksos
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:
parent
60fb870c48
commit
7543a9999d
2 changed files with 8 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
_: {
|
_: {
|
||||||
imports = [
|
imports = [
|
||||||
|
./pin-registry.nix
|
||||||
./preserve-system.nix
|
./preserve-system.nix
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
];
|
];
|
||||||
|
|
7
modules/other/pin-registry.nix
Normal file
7
modules/other/pin-registry.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
nix.registry = lib.mapAttrs (_: v: { flake = v; }) inputs;
|
||||||
|
}
|
Loading…
Reference in a new issue