nixpkgs registry by git rev, not store path

This commit is contained in:
xenia 2024-06-08 22:00:14 +02:00
parent 43ae058c27
commit 9808c37409
2 changed files with 8 additions and 2 deletions

View File

@ -12,7 +12,10 @@
from = { type = "indirect"; id = "templates"; };
to = { type = "git"; url = "https://githug.xyz/xenchel/templates"; };
};
nixpkgs.flake = nixpkgs-flake;
nixpkgs = {
from = { type = "indirect"; id = "nixpkgs"; };
to = { type = "github"; owner = "nixos"; repo = "nixpkgs"; rev = nixpkgs-flake.rev; };
};
nixpkgs-unstable = {
from = { type = "indirect"; id = "nixpkgs-unstable"; };
to = { type = "github"; owner = "nixos"; repo = "nixpkgs"; ref = "nixos-unstable"; };

View File

@ -16,7 +16,10 @@
from = { type = "indirect"; id = "templates"; };
to = { type = "git"; url = "https://githug.xyz/xenchel/templates"; };
};
nixpkgs.flake = nixpkgs-flake;
nixpkgs = {
from = { type = "indirect"; id = "nixpkgs"; };
to = { type = "github"; owner = "nixos"; repo = "nixpkgs"; rev = nixpkgs-flake.rev; };
};
nixpkgs-unstable = {
from = { type = "indirect"; id = "nixpkgs"; };
to = "github:nixos/nixpkgs/nixos-unstable";