mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 17:45:12 -05:00
feat: changed name of modelling folder
This commit is contained in:
parent
7cf28c791c
commit
2cddd7b561
9 changed files with 40 additions and 10 deletions
0
home/modules/cli/utilities/paMixer/default.nix
Normal file → Executable file
0
home/modules/cli/utilities/paMixer/default.nix
Normal file → Executable file
11
home/modules/gui/apps/media/llms/alpaca/default.nix
Normal file
11
home/modules/gui/apps/media/llms/alpaca/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
alpaca
|
||||
;
|
||||
};
|
||||
}
|
10
home/modules/gui/apps/media/llms/default.nix
Executable file
10
home/modules/gui/apps/media/llms/default.nix
Executable file
|
@ -0,0 +1,10 @@
|
|||
let
|
||||
content = builtins.readDir ./.;
|
||||
|
||||
dirContent = builtins.filter (n: content.${n} == "directory") (builtins.attrNames content);
|
||||
|
||||
importList = map (name: ./. + "/${name}") dirContent;
|
||||
in
|
||||
{
|
||||
imports = importList;
|
||||
}
|
11
home/modules/gui/apps/media/llms/oterm/default.nix
Executable file
11
home/modules/gui/apps/media/llms/oterm/default.nix
Executable file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
oterm
|
||||
;
|
||||
};
|
||||
}
|
|
@ -20,9 +20,9 @@ in
|
|||
package = flameshotGrim;
|
||||
settings = {
|
||||
General = {
|
||||
disabledTrayIcon = true;
|
||||
disabledTrayIcon = false;
|
||||
showStartupLaunchMessage = false;
|
||||
disabledGrimWarning = true;
|
||||
# disabledGrimWarning = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -24,15 +24,9 @@ in
|
|||
enable = true;
|
||||
group = service.name;
|
||||
host = "http://${localhost}";
|
||||
# models = service.paths.path1;
|
||||
models = service.paths.path1;
|
||||
user = service.name;
|
||||
};
|
||||
# llama-cpp = {
|
||||
# enable = true;
|
||||
# port = 8080;
|
||||
# host = localhost;
|
||||
# model = "/models/qwen2.5-coder-32b-instruct-q8_0-00004-of-00005.gguf";
|
||||
# };
|
||||
open-webui = {
|
||||
enable = true;
|
||||
host = localhost;
|
||||
|
@ -48,8 +42,12 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
users.users.${service.name}.extraGroups = [
|
||||
"users"
|
||||
];
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"Z ${service.paths.path1} 0755 ${service.name} ${service.name} -"
|
||||
"Z ${service.paths.path1} 0777 ${service.name} ${service.name} -"
|
||||
];
|
||||
|
||||
networking = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue