15 lines
401 B
Nix
15 lines
401 B
Nix
|
# Configuration that will be added to both the nixinatee node and the nixinator
|
||
|
# node.
|
||
|
{ inputs }:
|
||
|
{
|
||
|
nix = {
|
||
|
extraOptions =
|
||
|
let empty_registry = builtins.toFile "empty-flake-registry.json" ''{"flakes":[],"version":2}''; in
|
||
|
''
|
||
|
experimental-features = nix-command flakes
|
||
|
flake-registry = ${empty_registry}
|
||
|
'';
|
||
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
||
|
};
|
||
|
}
|