switch nixfiles-assets to GitHub
this also configures Nix to keep nixfiles-assets in the store so it doesn't get redownloaded and I can save some GitHub LFS bandwidth
This commit is contained in:
parent
76d89d8103
commit
84833ba0f8
12
flake.lock
generated
12
flake.lock
generated
@ -291,15 +291,15 @@
|
||||
"locked": {
|
||||
"lastModified": 1710743555,
|
||||
"narHash": "sha256-e8iXy4hCLYegNTeyB/GB8hj+gj1wPD+b+XOsEcdfEJY=",
|
||||
"ref": "refs/heads/main",
|
||||
"owner": "Silveere",
|
||||
"repo": "nixfiles-assets",
|
||||
"rev": "4ee66c3036eda78fe0ddada0e289a4f672ac4f57",
|
||||
"revCount": 1,
|
||||
"type": "git",
|
||||
"url": "https://gitea.protogen.io/nullbite/nixfiles-assets"
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://gitea.protogen.io/nullbite/nixfiles-assets"
|
||||
"owner": "Silveere",
|
||||
"repo": "nixfiles-assets",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
|
@ -49,8 +49,9 @@
|
||||
|
||||
nixfiles-assets = {
|
||||
# using self-hosted gitea mirror because of GitHub LFS bandwidth limit (even though i'd probably never hit it)
|
||||
type = "git";
|
||||
url = "https://gitea.protogen.io/nullbite/nixfiles-assets";
|
||||
type = "github";
|
||||
owner = "Silveere";
|
||||
repo = "nixfiles-assets";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.systems.follows = "systems";
|
||||
};
|
||||
|
@ -26,6 +26,16 @@ in
|
||||
|
||||
# this makes modern nix tools use the system's version of nixpkgs
|
||||
nix.registry = {
|
||||
# this keeps nixfiles-assets in the store so i can save some GitHub LFS
|
||||
# bandwidth
|
||||
nixfiles-assets = {
|
||||
exact = true;
|
||||
from = {
|
||||
id = "nixfiles-assets";
|
||||
type = "indirect";
|
||||
};
|
||||
flake = inputs.nixfiles-assets;
|
||||
};
|
||||
nixpkgs = {
|
||||
exact = true;
|
||||
from = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user