chore: do not populate nix.registry.<name>.flake directly, use nixpkgs.flake.setFlakeRegistry instead

This commit is contained in:
2025-07-05 12:38:29 +02:00
parent 6fb95c5a84
commit a3f1352aeb

View File

@ -1,7 +1,7 @@
{ inputs, pkgs, ...}: { { inputs, pkgs, ...}: {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nixpkgs.flake.setFlakeRegistry = true;
nix.settings.trusted-users = [ "root" "@wheel" ]; nix.settings.trusted-users = [ "root" "@wheel" ];
nix.registry.nixpkgs.flake = inputs.nixpkgs;
nix.extraOptions = '' nix.extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';