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; enable = true;
package = pkgs.mullvad-vpn; package = pkgs.mullvad-vpn;
}; };
ollama.enable = true;
}; };
fonts.packages = with pkgs; [ (nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" ]; }) ]; fonts.packages = with pkgs; [ (nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" ]; }) ];

View File

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

View File

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