chore: get rid of home-llm
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
fcae0f3849
commit
4891913471
5 changed files with 0 additions and 57 deletions
17
flake.lock
17
flake.lock
|
@ -527,22 +527,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"home-llm-src": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1726328658,
|
|
||||||
"narHash": "sha256-+eYfywWjSBc/zrAjAU9nGPwS0SO6yRqOwaStgieVSU8=",
|
|
||||||
"owner": "acon96",
|
|
||||||
"repo": "home-llm",
|
|
||||||
"rev": "4f145d29224ab33d151e90cccdba87131c3b7b19",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "acon96",
|
|
||||||
"repo": "home-llm",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -1648,7 +1632,6 @@
|
||||||
"gtk-session-lock": "gtk-session-lock",
|
"gtk-session-lock": "gtk-session-lock",
|
||||||
"gtk-theme-src": "gtk-theme-src",
|
"gtk-theme-src": "gtk-theme-src",
|
||||||
"headscale": "headscale",
|
"headscale": "headscale",
|
||||||
"home-llm-src": "home-llm-src",
|
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hyprgrass": "hyprgrass",
|
"hyprgrass": "hyprgrass",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
|
|
|
@ -123,12 +123,6 @@
|
||||||
rev = "022fb24cd92035470496d50d86bf8c9ee74b1e7e";
|
rev = "022fb24cd92035470496d50d86bf8c9ee74b1e7e";
|
||||||
type = "github";
|
type = "github";
|
||||||
};
|
};
|
||||||
home-llm-src = {
|
|
||||||
flake = false;
|
|
||||||
owner = "acon96";
|
|
||||||
repo = "home-llm";
|
|
||||||
type = "github";
|
|
||||||
};
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
owner = "nix-community";
|
owner = "nix-community";
|
||||||
|
|
|
@ -163,10 +163,6 @@ let
|
||||||
|
|
||||||
srcs = [
|
srcs = [
|
||||||
# Home-assistant
|
# Home-assistant
|
||||||
{
|
|
||||||
owner = "acon96";
|
|
||||||
repo = "home-llm";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
name = "extended-ollama-conversation-src";
|
name = "extended-ollama-conversation-src";
|
||||||
owner = "TheNimaj";
|
owner = "TheNimaj";
|
||||||
|
|
|
@ -3,6 +3,5 @@ pkgs.lib.makeScope pkgs.newScope (hass: let
|
||||||
buildHassComponent = file:
|
buildHassComponent = file:
|
||||||
hass.callPackage file (inputs // {});
|
hass.callPackage file (inputs // {});
|
||||||
in {
|
in {
|
||||||
home-llm = buildHassComponent ./home-llm.nix;
|
|
||||||
extended-ollama-conversation = buildHassComponent ./extended-ollama-conversation.nix;
|
extended-ollama-conversation = buildHassComponent ./extended-ollama-conversation.nix;
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
{
|
|
||||||
buildHomeAssistantComponent,
|
|
||||||
home-llm-src,
|
|
||||||
python3Packages,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
inherit (builtins) fromJSON readFile;
|
|
||||||
|
|
||||||
manifest = fromJSON (readFile "${home-llm-src}/custom_components/llama_conversation/manifest.json");
|
|
||||||
in
|
|
||||||
buildHomeAssistantComponent {
|
|
||||||
owner = "acon96";
|
|
||||||
|
|
||||||
inherit (manifest) domain version;
|
|
||||||
|
|
||||||
src = home-llm-src;
|
|
||||||
|
|
||||||
# FIXME: remove this on next release https://github.com/acon96/home-llm/issues/214
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace ./custom_components/llama_conversation/manifest.json \
|
|
||||||
--replace-warn "huggingface-hub==0.23.0" "huggingface-hub>=0.23.0"
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
|
||||||
huggingface-hub
|
|
||||||
requests
|
|
||||||
webcolors
|
|
||||||
];
|
|
||||||
}
|
|
Loading…
Reference in a new issue