2022-05-24 02:39:45 +01:00
|
|
|
# Configuration that will be added to both the nixinatee node and the nixinator
|
|
|
|
# node.
|
2023-12-11 20:37:06 +01:00
|
|
|
{ inputs }: {
|
2022-05-24 02:39:45 +01:00
|
|
|
nix = {
|
|
|
|
extraOptions =
|
2023-12-11 20:37:06 +01:00
|
|
|
let
|
|
|
|
empty_registry = builtins.toFile "empty-flake-registry.json" ''{"flakes":[],"version":2}'';
|
|
|
|
in
|
2022-05-24 02:39:45 +01:00
|
|
|
''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
flake-registry = ${empty_registry}
|
|
|
|
'';
|
|
|
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
|
|
|
};
|
|
|
|
}
|