mirror of
https://github.com/Username404-59/Dotfiles-NixOS.git
synced 2026-07-03 12:58:07 +02:00
Prepare odysseus & ollama
This commit is contained in:
parent
aec346de0d
commit
926f149821
@ -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
0
home/doggo/odysseus/.env
Normal file
18
home/doggo/ollama-config.nix
Normal file
18
home/doggo/ollama-config.nix
Normal 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;
|
||||||
|
};
|
||||||
|
*/
|
||||||
|
}
|
||||||
@ -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 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user