mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -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;
|
package = flameshotGrim;
|
||||||
settings = {
|
settings = {
|
||||||
General = {
|
General = {
|
||||||
disabledTrayIcon = true;
|
disabledTrayIcon = false;
|
||||||
showStartupLaunchMessage = false;
|
showStartupLaunchMessage = false;
|
||||||
disabledGrimWarning = true;
|
# disabledGrimWarning = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -24,15 +24,9 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
group = service.name;
|
group = service.name;
|
||||||
host = "http://${localhost}";
|
host = "http://${localhost}";
|
||||||
# models = service.paths.path1;
|
models = service.paths.path1;
|
||||||
user = service.name;
|
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 = {
|
open-webui = {
|
||||||
enable = true;
|
enable = true;
|
||||||
host = localhost;
|
host = localhost;
|
||||||
|
@ -48,8 +42,12 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.users.${service.name}.extraGroups = [
|
||||||
|
"users"
|
||||||
|
];
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"Z ${service.paths.path1} 0755 ${service.name} ${service.name} -"
|
"Z ${service.paths.path1} 0777 ${service.name} ${service.name} -"
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue