Install agent CLIs on NixOracle

This commit is contained in:
ltadeu6 2026-06-21 17:03:21 -03:00
parent 701de54a74
commit 40c9a4b2a0
No known key found for this signature in database
GPG key ID: FB9FDAB6B6F3418D
2 changed files with 18 additions and 1 deletions

View file

@ -67,6 +67,16 @@
inherit system; inherit system;
modules = [ modules = [
./hosts/NixOracle/configuration.nix ./hosts/NixOracle/configuration.nix
{
nixpkgs.overlays = [
(final: prev: {
unstable = import nixpkgs-unstable {
inherit system;
config = prev.config;
};
})
];
}
]; ];
}; };
}; };

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { pkgs, config, lib, ... }:
let let
username = "ltadeu6"; username = "ltadeu6";
sshAuthorizedKeys = [ sshAuthorizedKeys = [
@ -36,7 +36,13 @@ in {
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"claude-code"
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
claude-code
curl curl
fd fd
git git
@ -47,6 +53,7 @@ in {
ripgrep ripgrep
starship starship
tmux tmux
unstable.codex
wget wget
]; ];