chore: do not populate nix.registry.<name>.flake directly, use nixpkgs.flake.setFlakeRegistry instead
This commit is contained in:
@ -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
|
||||||
'';
|
'';
|
||||||
|
Reference in New Issue
Block a user