From 40c9a4b2a081213e037b9b78819a8ea594f5a801 Mon Sep 17 00:00:00 2001 From: ltadeu6 Date: Sun, 21 Jun 2026 17:03:21 -0300 Subject: [PATCH] Install agent CLIs on NixOracle --- flake.nix | 10 ++++++++++ hosts/NixOracle/configuration.nix | 9 ++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 027fa72..35f811b 100644 --- a/flake.nix +++ b/flake.nix @@ -67,6 +67,16 @@ inherit system; modules = [ ./hosts/NixOracle/configuration.nix + { + nixpkgs.overlays = [ + (final: prev: { + unstable = import nixpkgs-unstable { + inherit system; + config = prev.config; + }; + }) + ]; + } ]; }; }; diff --git a/hosts/NixOracle/configuration.nix b/hosts/NixOracle/configuration.nix index 57938a3..599d6e3 100644 --- a/hosts/NixOracle/configuration.nix +++ b/hosts/NixOracle/configuration.nix @@ -1,4 +1,4 @@ -{ pkgs, config, ... }: +{ pkgs, config, lib, ... }: let username = "ltadeu6"; sshAuthorizedKeys = [ @@ -36,7 +36,13 @@ in { ./hardware-configuration.nix ]; + nixpkgs.config.allowUnfreePredicate = pkg: + builtins.elem (lib.getName pkg) [ + "claude-code" + ]; + environment.systemPackages = with pkgs; [ + claude-code curl fd git @@ -47,6 +53,7 @@ in { ripgrep starship tmux + unstable.codex wget ];