ollama: remove redundant platform checks
This commit is contained in:
parent
2379f704b0
commit
787784fb6f
1 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ in
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
systemd.user.services.ollama = mkIf pkgs.stdenv.isLinux {
|
||||
systemd.user.services.ollama = {
|
||||
Unit = {
|
||||
Description = "Server for local large language models";
|
||||
After = [ "network.target" ];
|
||||
|
|
@ -105,7 +105,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
launchd.agents.ollama = mkIf pkgs.stdenv.isDarwin {
|
||||
launchd.agents.ollama = {
|
||||
enable = true;
|
||||
config = {
|
||||
ProgramArguments = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue