diff --git a/nixos/fuchsia/configuration.nix b/nixos/fuchsia/configuration.nix index 9f9b7a1..c278e1d 100644 --- a/nixos/fuchsia/configuration.nix +++ b/nixos/fuchsia/configuration.nix @@ -69,12 +69,6 @@ mouse = { accelProfile = "flat"; }; }; - # Get up and running with large language models locally. - ollama = { - enable = true; - acceleration = "rocm"; - }; - # Enable a few other services. ratbagd.enable = true; pcscd.enable = true; diff --git a/nixos/fuchsia/services/default.nix b/nixos/fuchsia/services/default.nix index 5fc2fc0..9706bf5 100644 --- a/nixos/fuchsia/services/default.nix +++ b/nixos/fuchsia/services/default.nix @@ -4,6 +4,7 @@ imports = [ ./amdgpu-clocks.nix ./flatpak.nix + ./ollama.nix ./xserver.nix ]; } diff --git a/nixos/fuchsia/services/ollama.nix b/nixos/fuchsia/services/ollama.nix new file mode 100644 index 0000000..733432d --- /dev/null +++ b/nixos/fuchsia/services/ollama.nix @@ -0,0 +1,9 @@ +{ ... }: + +{ + # Get up and running with large language models locally. + services.ollama = { + enable = true; + acceleration = "rocm"; + }; +}