This seems to be one way to go about it
This commit is contained in:
parent
f970fc1583
commit
3e07b832c8
5 changed files with 47 additions and 5 deletions
|
|
@ -2,6 +2,7 @@
|
|||
nix-index
|
||||
home-manager
|
||||
nil
|
||||
nvfetcher
|
||||
|
||||
gcc
|
||||
git
|
||||
|
|
|
|||
|
|
@ -12,11 +12,9 @@ let
|
|||
# '';
|
||||
# };
|
||||
|
||||
bash-drv = builtins.fetchGit {
|
||||
url = "https://github.com/pestctrl/bash-config";
|
||||
ref = "master";
|
||||
rev = "f88071e92523a271dd553a20e60c8afaaf2dae0b";
|
||||
};
|
||||
bash-drv = (import ../../nvfetch/_sources/generated.nix {
|
||||
inherit (pkgs) fetchurl fetchgit fetchFromGitHub dockerTools;
|
||||
}).bash-config.src;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
|
|
|
|||
22
home/nvfetch/_sources/generated.json
Normal file
22
home/nvfetch/_sources/generated.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"bash-config": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-07-13",
|
||||
"extract": null,
|
||||
"name": "bash-config",
|
||||
"passthru": null,
|
||||
"pinned": false,
|
||||
"src": {
|
||||
"deepClone": false,
|
||||
"fetchSubmodules": false,
|
||||
"leaveDotGit": false,
|
||||
"name": null,
|
||||
"owner": "pestctrl",
|
||||
"repo": "bash-config",
|
||||
"rev": "f88071e92523a271dd553a20e60c8afaaf2dae0b",
|
||||
"sha256": "sha256-+gQ28icbsv2+Jmxvm02OYWKCuFqtUoAdjDmWt3YgjKI=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "f88071e92523a271dd553a20e60c8afaaf2dae0b"
|
||||
}
|
||||
}
|
||||
16
home/nvfetch/_sources/generated.nix
Normal file
16
home/nvfetch/_sources/generated.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# This file was generated by nvfetcher, please do not modify it manually.
|
||||
{ fetchgit, fetchurl, fetchFromGitHub, dockerTools }:
|
||||
{
|
||||
bash-config = {
|
||||
pname = "bash-config";
|
||||
version = "f88071e92523a271dd553a20e60c8afaaf2dae0b";
|
||||
src = fetchFromGitHub {
|
||||
owner = "pestctrl";
|
||||
repo = "bash-config";
|
||||
rev = "f88071e92523a271dd553a20e60c8afaaf2dae0b";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-+gQ28icbsv2+Jmxvm02OYWKCuFqtUoAdjDmWt3YgjKI=";
|
||||
};
|
||||
date = "2024-07-13";
|
||||
};
|
||||
}
|
||||
5
home/nvfetch/nvfetcher.toml
Normal file
5
home/nvfetch/nvfetcher.toml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[bash-config]
|
||||
src.git = "https://github.com/pestctrl/bash-config"
|
||||
src.branch = "master"
|
||||
# fetch.git = "https://github.com/pestctrl/bash-config"
|
||||
fetch.github = "pestctrl/bash-config"
|
||||
Loading…
Reference in a new issue