diff --git a/common.nix b/common.nix index 5233d6a..a4e7257 100644 --- a/common.nix +++ b/common.nix @@ -40,6 +40,7 @@ ./services/crowdsec.nix ./services/sabnzbd.nix ./services/forgejo-runner.nix + ./services/ollama.nix ]; ### Make build time quicker diff --git a/services/ollama.nix b/services/ollama.nix new file mode 100644 index 0000000..4b7d227 --- /dev/null +++ b/services/ollama.nix @@ -0,0 +1,8 @@ +{ config, pkgs, lib, ... }: +{ + config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") { + + services.ollama.enable = true; + + } +} \ No newline at end of file