Files
machine_setup/nix/configuration/roles/claude/default.nix

28 lines
418 B
Nix
Raw Normal View History

2026-11-23 11:00:11 -05:00
{
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" ];
};
}