diff --git a/common/base-packages.nix b/common/base-packages.nix index fc036d7..64d93c9 100644 --- a/common/base-packages.nix +++ b/common/base-packages.nix @@ -2,6 +2,7 @@ nix-index home-manager nil + nvfetcher gcc git diff --git a/home/modules/bash-config/default.nix b/home/modules/bash-config/default.nix index 7604ed5..03813d2 100644 --- a/home/modules/bash-config/default.nix +++ b/home/modules/bash-config/default.nix @@ -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 = { diff --git a/home/nvfetch/_sources/generated.json b/home/nvfetch/_sources/generated.json new file mode 100644 index 0000000..d8d8ad9 --- /dev/null +++ b/home/nvfetch/_sources/generated.json @@ -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" + } +} \ No newline at end of file diff --git a/home/nvfetch/_sources/generated.nix b/home/nvfetch/_sources/generated.nix new file mode 100644 index 0000000..b156cbb --- /dev/null +++ b/home/nvfetch/_sources/generated.nix @@ -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"; + }; +} diff --git a/home/nvfetch/nvfetcher.toml b/home/nvfetch/nvfetcher.toml new file mode 100644 index 0000000..46de667 --- /dev/null +++ b/home/nvfetch/nvfetcher.toml @@ -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" \ No newline at end of file