Remove remote globla registry.

This commit is contained in:
Kevin Baensch 2023-06-28 09:00:41 +02:00
parent 40bcd631dd
commit 11e51284fd
Signed by: derped
GPG key ID: C0F1D326C7626543
2 changed files with 41 additions and 23 deletions

View file

@ -2,6 +2,7 @@
let
cfg = config.machine;
emptyGlobalRegistry = pkgs.writeText "registry.json" ''{ "flakes": [], "version": 2 }'';
in {
nix = {
package = pkgs.nix;
@ -24,6 +25,7 @@ in {
extraOptions = ''
build-timeout = 86400 # 24 hours
experimental-features = nix-command flakes
flake-registry = ${emptyGlobalRegistry}
'';
};
}