local ollama for vscode
This commit is contained in:
parent
5786863608
commit
f9371908d6
6 changed files with 107 additions and 46 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue