enabled ollama as a service

This commit is contained in:
2024-01-05 05:24:30 +00:00
parent bb2a6e077a
commit 62a13294e4
3 changed files with 6 additions and 4 deletions

View File

@ -172,6 +172,7 @@
enable = true;
package = pkgs.mullvad-vpn;
};
ollama.enable = true;
};
fonts.packages = with pkgs; [ (nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" ]; }) ];

View File

@ -16,6 +16,10 @@
dconf.enable = true;
};
services = {
ollama.enable = true;
};
users = {
defaultUserShell = pkgs.zsh;
users.${username} = {
@ -28,9 +32,7 @@
};
};
environment.systemPackages = with pkgs;[
ollama
];
environment.systemPackages = with pkgs;[ ];
fonts.packages = with pkgs; [ (nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" ]; }) ];

View File

@ -50,7 +50,6 @@
rustc
cargo
bun
ollama
stremio
nixpkgs-fmt
flyctl