Install claude code into the robot VM.

This commit is contained in:
Tom Alexander
2026-11-23 11:00:11 -05:00
parent e28625ea8a
commit 2a306168d7
3 changed files with 29 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ in
./roles/build_in_ram ./roles/build_in_ram
./roles/chromecast ./roles/chromecast
./roles/chromium ./roles/chromium
./roles/claude
./roles/d2 ./roles/d2
./roles/direnv ./roles/direnv
./roles/disko ./roles/disko

View File

@@ -74,6 +74,7 @@
# nix.sshServe.enable = true; # nix.sshServe.enable = true;
# nix.sshServe.keys = [ "ssh-dss AAAAB3NzaC1k... bob@example.org" ]; # nix.sshServe.keys = [ "ssh-dss AAAAB3NzaC1k... bob@example.org" ];
me.claude.enable = true;
me.dont_use_substituters.enable = true; me.dont_use_substituters.enable = true;
me.minimal_base.enable = true; me.minimal_base.enable = true;
me.pi_coding_agent.enable = true; me.pi_coding_agent.enable = true;

View File

@@ -0,0 +1,27 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
claude.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install claude.";
};
};
config = lib.mkIf config.me.claude.enable {
environment.systemPackages = with pkgs; [
claude-code
];
allowedUnfree = [ "claude-code" ];
};
}