diff --git a/overlays/jetbrains-toolbox/default.nix b/overlays/jetbrains-toolbox/default.nix index 94485f7..c96fd13 100644 --- a/overlays/jetbrains-toolbox/default.nix +++ b/overlays/jetbrains-toolbox/default.nix @@ -1,5 +1 @@ -{ channels, ... }: -final: prev: -{ - inherit (channels.unstable) jetbrains-toolbox; -} +{ channels, ... }: final: prev: { inherit (channels.unstable) jetbrains-toolbox ollama; } diff --git a/systems/x86_64-linux/x1/default.nix b/systems/x86_64-linux/x1/default.nix index 8fabe1f..a28648e 100644 --- a/systems/x86_64-linux/x1/default.nix +++ b/systems/x86_64-linux/x1/default.nix @@ -23,6 +23,7 @@ with lib.metacfg; kubectx k9s attic-client + ollama ]; services.resolved.enable = true; @@ -54,5 +55,10 @@ with lib.metacfg; { domain = "*"; item = "memlock"; type = "-"; value = "32768"; } ]; + services.ollama = { + enable = true; + acceleration = "rocm"; + }; + system.stateVersion = "23.11"; }