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 = {
|
||||
gnome = true;
|
||||
desktop.enable = true;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./ai.nix
|
||||
./configuration.nix
|
||||
./xorg.nix
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue