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": {
|
"locked": {
|
||||||
"lastModified": 1710743555,
|
"lastModified": 1710743555,
|
||||||
"narHash": "sha256-e8iXy4hCLYegNTeyB/GB8hj+gj1wPD+b+XOsEcdfEJY=",
|
"narHash": "sha256-e8iXy4hCLYegNTeyB/GB8hj+gj1wPD+b+XOsEcdfEJY=",
|
||||||
"ref": "refs/heads/main",
|
"owner": "Silveere",
|
||||||
|
"repo": "nixfiles-assets",
|
||||||
"rev": "4ee66c3036eda78fe0ddada0e289a4f672ac4f57",
|
"rev": "4ee66c3036eda78fe0ddada0e289a4f672ac4f57",
|
||||||
"revCount": 1,
|
"type": "github"
|
||||||
"type": "git",
|
|
||||||
"url": "https://gitea.protogen.io/nullbite/nixfiles-assets"
|
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"owner": "Silveere",
|
||||||
"url": "https://gitea.protogen.io/nullbite/nixfiles-assets"
|
"repo": "nixfiles-assets",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
|
@ -49,8 +49,9 @@
|
|||||||
|
|
||||||
nixfiles-assets = {
|
nixfiles-assets = {
|
||||||
# using self-hosted gitea mirror because of GitHub LFS bandwidth limit (even though i'd probably never hit it)
|
# using self-hosted gitea mirror because of GitHub LFS bandwidth limit (even though i'd probably never hit it)
|
||||||
type = "git";
|
type = "github";
|
||||||
url = "https://gitea.protogen.io/nullbite/nixfiles-assets";
|
owner = "Silveere";
|
||||||
|
repo = "nixfiles-assets";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.systems.follows = "systems";
|
inputs.systems.follows = "systems";
|
||||||
};
|
};
|
||||||
|
@ -26,6 +26,16 @@ in
|
|||||||
|
|
||||||
# this makes modern nix tools use the system's version of nixpkgs
|
# this makes modern nix tools use the system's version of nixpkgs
|
||||||
nix.registry = {
|
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 = {
|
nixpkgs = {
|
||||||
exact = true;
|
exact = true;
|
||||||
from = {
|
from = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user