[cleo] claude config + new packages
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
jsonFormat = pkgs.formats.json { };
|
||||
in
|
||||
{
|
||||
# Host modules contribute keys here; the module system deep-merges them into
|
||||
# a single ~/.config/claude/settings.json.
|
||||
options.my.claude.settings = lib.mkOption {
|
||||
type = jsonFormat.type;
|
||||
default = { };
|
||||
description = "Claude Code settings.json contents.";
|
||||
};
|
||||
|
||||
config.xdg.configFile."claude/settings.json".source =
|
||||
jsonFormat.generate "claude-settings.json" config.my.claude.settings;
|
||||
}
|
||||
Reference in New Issue
Block a user