From 1167c16c1fd767e8be314b1e9e51274c4571d3ea Mon Sep 17 00:00:00 2001 From: Antoine Fauroux Date: Thu, 20 Aug 2026 16:01:18 -0400 Subject: [PATCH] kcnhub: packages: ai/ml/llm packages --- machines/kcnhub/configuration.nix | 3 --- machines/kcnhub/packages.nix | 1 + machines/kcnhub/packages/ai.nix | 9 +++++++++ 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 machines/kcnhub/packages/ai.nix diff --git a/machines/kcnhub/configuration.nix b/machines/kcnhub/configuration.nix index b7baeb1..13a5896 100644 --- a/machines/kcnhub/configuration.nix +++ b/machines/kcnhub/configuration.nix @@ -106,9 +106,6 @@ sops # Used for Key Generation age - # Needed to install claude code (do not touch) - unstable-unfree.claude-code - # To try to make X11 forwarding work we install xauth xorg.xauth diff --git a/machines/kcnhub/packages.nix b/machines/kcnhub/packages.nix index 11cb352..9529748 100644 --- a/machines/kcnhub/packages.nix +++ b/machines/kcnhub/packages.nix @@ -1,5 +1,6 @@ { ... }: { imports = [ + ./packages/ai.nix ./packages/ngilab.nix ./packages/office.nix ./packages/terminal.nix diff --git a/machines/kcnhub/packages/ai.nix b/machines/kcnhub/packages/ai.nix new file mode 100644 index 0000000..d2c88a8 --- /dev/null +++ b/machines/kcnhub/packages/ai.nix @@ -0,0 +1,9 @@ +{ config, pkgs, lib, ... }: { + environment.systemPackages = with pkgs; [ + # v-- Proprietary (hence unfree) + unstable-unfree.claude-code + unstable.pi-coding-agent + # v-- Depends on CUDA (hence unfree) + unstable-unfree.llama-cpp + ]; +}