feat: changed name of modelling folder

This commit is contained in:
Nick 2025-02-02 17:16:14 -06:00
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
View file

View file

@ -0,0 +1,11 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
alpaca
;
};
}

View 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;
}

View file

@ -0,0 +1,11 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
oterm
;
};
}

View file

@ -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;
}; };
}; };
}; };

View file

@ -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 = {