From 5400c8a14cf126296da25b724ea0640602aaf015 Mon Sep 17 00:00:00 2001 From: Thilo Billerbeck Date: Tue, 12 Mar 2024 00:13:50 +0100 Subject: [PATCH] add ai stuff --- configs/thilo-pc/nixos.nix | 4 ++++ home-manager/modules/packages.nix | 1 + 2 files changed, 5 insertions(+) diff --git a/configs/thilo-pc/nixos.nix b/configs/thilo-pc/nixos.nix index 08666bd..33297aa 100644 --- a/configs/thilo-pc/nixos.nix +++ b/configs/thilo-pc/nixos.nix @@ -44,6 +44,10 @@ layout = "us"; xkbVariant = ""; }; + ollama = { + enable = true; + acceleration = "rocm"; + }; }; programs.kdeconnect.enable = true; diff --git a/home-manager/modules/packages.nix b/home-manager/modules/packages.nix index 9b1812e..c8d1043 100644 --- a/home-manager/modules/packages.nix +++ b/home-manager/modules/packages.nix @@ -70,6 +70,7 @@ in { nixd unrar inputs.w17.packages.x86_64-linux.default + aichat ] ++ (if config.machine.isGraphical then [ (pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ];