Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions modules/options-runtime.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@
'';
};

# In-app auto-updater toggle for the Claude Code binary.
# Stored in ~/.claude.json (global config) via home.activation.
autoUpdates = lib.mkOption {
type = lib.types.nullOr lib.types.bool;
default = null;
description = ''
Enable Claude Code's built-in auto-updater (writes ~/.claude.json).
Pairs with autoUpdatesChannel to pick the release channel.
null = leave unmanaged (Claude Code default is true).
'';
};

# Show turn duration in UI
showTurnDuration = lib.mkOption {
type = lib.types.bool;
Expand Down
3 changes: 3 additions & 0 deletions modules/settings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ let
}
// lib.optionalAttrs (cfg.remoteControlAtStartup != null) {
inherit (cfg) remoteControlAtStartup;
}
// lib.optionalAttrs (cfg.autoUpdates != null) {
inherit (cfg) autoUpdates;
};

claudeJsonOverlayFile =
Expand Down
Loading