add nixpkgs-unstable to registry

This commit is contained in:
陈浩南 2023-10-25 14:01:30 +08:00
parent 550ef39dcf
commit e2c61c6aaa

View File

@ -38,6 +38,7 @@ inputs:
registry = registry =
{ {
nixpkgs.flake = inputs.topInputs.nixpkgs; nixpkgs.flake = inputs.topInputs.nixpkgs;
nixpkgs-unstable.flake = inputs.topInputs.nixpkgs-unstable;
nixos.flake = inputs.topInputs.self; nixos.flake = inputs.topInputs.self;
}; };
nixPath = [ "nixpkgs=${inputs.topInputs.nixpkgs}" ]; nixPath = [ "nixpkgs=${inputs.topInputs.nixpkgs}" ];
@ -55,6 +56,7 @@ inputs:
environment.etc = environment.etc =
{ {
"channels/nixpkgs".source = inputs.topInputs.nixpkgs.outPath; "channels/nixpkgs".source = inputs.topInputs.nixpkgs.outPath;
"channels/nixpkgs-unstable".source = inputs.topInputs.nixpkgs-unstable.outPath;
"nixos".source = inputs.topInputs.self.outPath; "nixos".source = inputs.topInputs.self.outPath;
}; };
# environment.pathsToLink = [ "/include" ]; # environment.pathsToLink = [ "/include" ];