mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
move ollama configs
This commit is contained in:
parent
aad34eeef4
commit
7566b43058
3 changed files with 11 additions and 8 deletions
10
hosts/levi/ai.nix
Normal file
10
hosts/levi/ai.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
services.ollama = {
|
||||||
|
enable = true;
|
||||||
|
acceleration = "cuda";
|
||||||
|
};
|
||||||
|
programs.bash.interactiveShellInit = ''
|
||||||
|
alias ai-code='ollama run qwen2.5-coder:14b'
|
||||||
|
alias ai-text='ollama run llama3.1:8b'
|
||||||
|
'';
|
||||||
|
}
|
|
@ -14,14 +14,6 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
# services.ollama = {
|
|
||||||
# enable = true;
|
|
||||||
# acceleration = "cuda";
|
|
||||||
# };
|
|
||||||
# programs.bash.interactiveShellInit = ''
|
|
||||||
# alias ai='ollama run llama3.1:8b'
|
|
||||||
# '';
|
|
||||||
|
|
||||||
sconfig = {
|
sconfig = {
|
||||||
gnome = true;
|
gnome = true;
|
||||||
desktop.enable = true;
|
desktop.enable = true;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
|
./ai.nix
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./xorg.nix
|
./xorg.nix
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue