Prepare odysseus & ollama

This commit is contained in:
Username404-59 2026-06-23 00:11:08 +02:00
parent aec346de0d
commit 926f149821
Signed by: Username404-59
GPG Key ID: F3A1878B14F5F0D7
4 changed files with 32 additions and 1 deletions

View File

@ -86,6 +86,7 @@
./discord-config.nix ./discord-config.nix
./firefox-config.nix ./firefox-config.nix
./mpv-config.nix ./mpv-config.nix
./ollama-config.nix
]; ];
qt = { qt = {

0
home/doggo/odysseus/.env Normal file
View File

View File

@ -0,0 +1,18 @@
{ ... }:
{
services.ollama = {
enable = false; # TODO Enable when odysseus package supports non-flake installation
package = pkgs.ollama-vulkan;
};
/*
services.odysseus = {
enable = true;
xdg.dataHome."odysseus/odysseus-env".source = ./odysseus/.env;
# https://github.com/pewdiepie-archdaemon/odysseus/blob/dev/.env.example
environmentFile = "${config.xdg.dataHome}}/odysseus/odysseus-env";
host = "127.0.0.1";
port = 8008;
};
*/
}

View File

@ -5,6 +5,7 @@ patches {
adios "./patches/adios.patch" adios "./patches/adios.patch"
kservice_fix "./patches/kservice_fix.patch" kservice_fix "./patches/kservice_fix.patch"
mpv_buffers_fix "https://patch-diff.githubusercontent.com/raw/mpv-player/mpv/pull/17303.patch" // TODO: Remove this and mpv from manifest when mpv 0.42 is released mpv_buffers_fix "https://patch-diff.githubusercontent.com/raw/mpv-player/mpv/pull/17303.patch" // TODO: Remove this and mpv from manifest when mpv 0.42 is released
//nix_odysseus "https://patch-diff.githubusercontent.com/raw/pewdiepie-archdaemon/odysseus/pull/2568.patch" // See 2567 also
} }
inputs { inputs {
@ -79,7 +80,18 @@ inputs {
| cut -f1 | cut -f1
} }
} }
/*
odysseus {
archive {
url "https://github.com/pewdiepie-archdaemon/odysseus/archive/{{fresh_value}}.tar.gz"
}
patches nix_odysseus
fresh-cmd {
$ git ls-remote --branches "https://github.com/pewdiepie-archdaemon/odysseus.git" --refs "refs/heads/dev"
| cut -f1
}
}
*/
// Packages // Packages
ani-cli-git { ani-cli-git {
archive { archive {