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

@@ -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" ];
};
}