Remove remote globla registry.
This commit is contained in:
parent
40bcd631dd
commit
11e51284fd
2 changed files with 41 additions and 23 deletions
|
@ -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}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue