local ollama for vscode

This commit is contained in:
atagen 2024-09-17 10:19:33 +10:00
parent 5786863608
commit f9371908d6
6 changed files with 107 additions and 46 deletions

View file

@ -20,6 +20,7 @@
replaceStrings
concatMapStringsSep
;
partOf = cfg: "${replaceStrings [" "] ["-"] (toLower cfg.name)}.target";
# make a firefox webapp + hidden .desktop entry for the client app
make-firefox = cfg:
mapAttrs' (
@ -60,7 +61,7 @@
name = "${req}";
value = {
Unit = {
PartOf = "${replaceStrings [" "] ["-"] (toLower cfg.name)}.target";
PartOf = partOf cfg;
};
};
}
@ -75,7 +76,7 @@
name = "${req}";
value = {
unitConfig = {
PartOf = "${toLower cfg.name}.target";
PartOf = partOf cfg;
};
};
}