Compare commits

...

85 Commits

Author SHA1 Message Date
f848f2a195 bd daemon sync: 2026-01-11 15:33:11 2026-01-11 15:33:11 -08:00
84f33df138 bd daemon sync: 2026-01-11 15:33:06 2026-01-11 15:33:06 -08:00
5d946eea54 bd daemon sync: 2026-01-10 21:06:56 2026-01-10 21:06:56 -08:00
a25ed55e98 bd daemon sync: 2026-01-10 21:06:56 2026-01-10 21:06:56 -08:00
f6732df5c6 bd daemon sync: 2026-01-10 20:10:25 2026-01-10 20:10:25 -08:00
0f1a585b39 bd daemon sync: 2026-01-10 20:10:24 2026-01-10 20:10:24 -08:00
21f1d7c814 bd daemon sync: 2026-01-10 20:10:09 2026-01-10 20:10:09 -08:00
a97c5400ac bd daemon sync: 2026-01-10 20:09:39 2026-01-10 20:09:39 -08:00
5ea26ce2b2 bd daemon sync: 2026-01-10 19:31:19 2026-01-10 19:31:19 -08:00
c295041902 bd daemon sync: 2026-01-10 19:13:59 2026-01-10 19:13:59 -08:00
574dc1d4e1 bd daemon sync: 2026-01-10 19:13:54 2026-01-10 19:13:54 -08:00
9dc8b6de6e bd daemon sync: 2026-01-10 19:13:42 2026-01-10 19:13:42 -08:00
416da275dd bd daemon sync: 2026-01-10 19:13:20 2026-01-10 19:13:20 -08:00
dafc1808de bd daemon sync: 2026-01-10 19:13:14 2026-01-10 19:13:14 -08:00
0c3d9a2df9 bd daemon sync: 2026-01-10 19:13:13 2026-01-10 19:13:13 -08:00
652c1c8722 bd daemon sync: 2026-01-10 19:13:12 2026-01-10 19:13:12 -08:00
ea9b093aff bd daemon sync: 2026-01-10 19:13:04 2026-01-10 19:13:04 -08:00
d963595dfb bd daemon sync: 2026-01-10 19:13:04 2026-01-10 19:13:04 -08:00
de40a3f8b3 bd daemon sync: 2026-01-10 19:13:03 2026-01-10 19:13:03 -08:00
04401d75b0 bd daemon sync: 2026-01-10 19:13:02 2026-01-10 19:13:02 -08:00
94d767edc3 bd daemon sync: 2026-01-10 19:12:51 2026-01-10 19:12:51 -08:00
950ddef305 bd daemon sync: 2026-01-10 14:19:55 2026-01-10 14:19:55 -08:00
2bad594287 bd daemon sync: 2026-01-10 14:19:54 2026-01-10 14:19:54 -08:00
e59c4b00ec bd daemon sync: 2026-01-10 14:19:53 2026-01-10 14:19:53 -08:00
f917dbf0e6 bd daemon sync: 2026-01-10 14:19:52 2026-01-10 14:19:52 -08:00
077d4bb147 bd daemon sync: 2026-01-10 14:18:41 2026-01-10 14:18:41 -08:00
5888e274e6 bd daemon sync: 2026-01-10 14:18:40 2026-01-10 14:18:40 -08:00
6544899d34 bd daemon sync: 2026-01-10 14:18:39 2026-01-10 14:18:39 -08:00
dc803e6aad bd daemon sync: 2026-01-10 14:18:38 2026-01-10 14:18:38 -08:00
b9a1b3d26b bd daemon sync: 2026-01-10 14:18:37 2026-01-10 14:18:37 -08:00
50f916cf2e bd daemon sync: 2026-01-10 13:13:20 2026-01-10 13:13:20 -08:00
74a2bb6a16 bd daemon sync: 2026-01-10 13:13:11 2026-01-10 13:13:11 -08:00
f611a2c39f bd daemon sync: 2026-01-10 13:12:07 2026-01-10 13:12:07 -08:00
1f4ba6a80f bd daemon sync: 2026-01-10 13:11:54 2026-01-10 13:11:54 -08:00
2cc9b1c491 bd daemon sync: 2026-01-10 13:11:47 2026-01-10 13:11:47 -08:00
197191ce4a bd daemon sync: 2026-01-10 13:11:37 2026-01-10 13:11:37 -08:00
25fb086142 bd daemon sync: 2026-01-10 13:11:30 2026-01-10 13:11:30 -08:00
056925dd72 bd daemon sync: 2026-01-10 13:11:23 2026-01-10 13:11:23 -08:00
47aa5fd454 bd daemon sync: 2026-01-10 13:11:18 2026-01-10 13:11:18 -08:00
b1d82da740 bd daemon sync: 2026-01-10 13:11:13 2026-01-10 13:11:13 -08:00
602d3067f0 bd daemon sync: 2026-01-10 13:11:11 2026-01-10 13:11:11 -08:00
5b492046e6 bd daemon sync: 2026-01-10 13:10:25 2026-01-10 13:10:25 -08:00
dd660d65ba bd daemon sync: 2026-01-10 13:10:14 2026-01-10 13:10:14 -08:00
d03a935912 bd daemon sync: 2026-01-10 13:09:54 2026-01-10 13:09:54 -08:00
3f7a909b0a bd daemon sync: 2026-01-10 13:09:48 2026-01-10 13:09:48 -08:00
5a705803e5 bd daemon sync: 2026-01-10 13:08:53 2026-01-10 13:08:53 -08:00
db0f78bd4a bd daemon sync: 2026-01-10 13:08:42 2026-01-10 13:08:42 -08:00
81ef9def29 bd daemon sync: 2026-01-10 13:06:15 2026-01-10 13:06:15 -08:00
4784190104 bd daemon sync: 2026-01-10 13:06:05 2026-01-10 13:06:05 -08:00
791be65d8d bd daemon sync: 2026-01-10 12:53:10 2026-01-10 12:53:10 -08:00
c6d7399d64 bd daemon sync: 2026-01-10 12:53:10 2026-01-10 12:53:10 -08:00
908183f53e bd daemon sync: 2026-01-10 12:52:19 2026-01-10 12:52:19 -08:00
83f4dc268c bd daemon sync: 2026-01-10 12:50:58 2026-01-10 12:50:58 -08:00
6a6d0e7726 bd daemon sync: 2026-01-10 12:50:57 2026-01-10 12:50:57 -08:00
14c80ae448 bd daemon sync: 2026-01-10 12:50:55 2026-01-10 12:50:55 -08:00
3f607a91ec bd daemon sync: 2026-01-10 12:48:28 2026-01-10 12:48:28 -08:00
e46eb093fe bd daemon sync: 2026-01-10 12:47:50 2026-01-10 12:47:50 -08:00
349ae65ff2 bd daemon sync: 2026-01-10 12:47:30 2026-01-10 12:47:30 -08:00
57252c9ba2 bd daemon sync: 2026-01-10 12:43:48 2026-01-10 12:43:48 -08:00
85cccf0dc9 bd daemon sync: 2026-01-10 12:39:40 2026-01-10 12:39:40 -08:00
c642619bae bd daemon sync: 2026-01-10 12:39:23 2026-01-10 12:39:23 -08:00
3e9111b670 bd daemon sync: 2026-01-10 12:29:29 2026-01-10 12:29:29 -08:00
206b23bfa2 bd daemon sync: 2026-01-10 12:28:20 2026-01-10 12:28:20 -08:00
cba4f78ebc bd daemon sync: 2026-01-10 12:27:40 2026-01-10 12:27:40 -08:00
8bc654f39a bd daemon sync: 2026-01-10 12:27:39 2026-01-10 12:27:39 -08:00
5057266b7a bd daemon sync: 2026-01-10 11:29:32 2026-01-10 11:29:32 -08:00
02529be730 bd daemon sync: 2026-01-10 11:29:19 2026-01-10 11:29:19 -08:00
a6f7026b16 bd daemon sync: 2026-01-10 11:16:24 2026-01-10 11:16:24 -08:00
6d17a62a13 bd daemon sync: 2026-01-10 11:16:17 2026-01-10 11:16:17 -08:00
855f777824 bd daemon sync: 2026-01-10 10:48:49 2026-01-10 10:48:49 -08:00
ccab26f6e7 bd daemon sync: 2026-01-10 10:47:39 2026-01-10 10:47:39 -08:00
20536548a0 bd daemon sync: 2026-01-10 10:47:20 2026-01-10 10:47:20 -08:00
5a42ccda98 bd daemon sync: 2026-01-10 10:47:07 2026-01-10 10:47:07 -08:00
090882595b bd daemon sync: 2026-01-10 09:10:22 2026-01-10 09:10:22 -08:00
2c08b31bb9 bd daemon sync: 2026-01-09 12:47:21 2026-01-09 12:47:21 -08:00
84f5f87027 bd daemon sync: 2026-01-09 12:47:08 2026-01-09 12:47:08 -08:00
ac01548e89 chore(beads): commit untracked JSONL files
Auto-committed by bd doctor --fix
2026-01-09 11:22:13 -08:00
bb7f79843b bd sync: 2026-01-09 11:22:07 2026-01-09 11:22:07 -08:00
c1d6663a36 bd init 2026-01-09 11:21:49 -08:00
3cf4403ffa Add perles TUI package for Beads issue tracking
Adds a custom Nix package for perles, a terminal user interface for the
Beads issue tracking system with BQL query language support.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 11:20:02 -08:00
4e6123de9a Simplify beads integration to use bd setup claude
Replace complex marketplace plugin installation with simple 'bd setup claude'
which installs hooks into ~/.claude/settings.json. This is the recommended
approach for Claude Code (CLI + hooks) vs the MCP server approach.
2026-01-08 19:28:17 -08:00
19ee298b71 Add beads Claude plugin installation via home-manager
- Add beadsRepo reference from flake input
- Add activation script to install beads as marketplace plugin
- Updates known_marketplaces.json and config.json declaratively
2026-01-08 19:21:58 -08:00
537f7831a7 Fix claude-code-ide keybinds and consolidate settings
Move keybinding to :init block so SPC o c works before first invocation.
Add :commands for proper autoloading. Migrate customizations from
custom.el to config.el.
2026-01-05 21:11:58 -08:00
bf0d16fe1a Add Mod+Shift+Return keybinding to open browser window in i3/sway 2026-01-05 21:07:11 -08:00
858b6009ae Style blocked org-agenda tasks in purple instead of grey 2026-01-05 19:48:47 -08:00
12 changed files with 225 additions and 7 deletions

View File

37
.beads/issues.jsonl Normal file

File diff suppressed because one or more lines are too long

4
.beads/metadata.json Normal file
View File

@@ -0,0 +1,4 @@
{
"database": "beads.db",
"jsonl_export": "issues.jsonl"
}

29
.beads/sync_base.jsonl Normal file

File diff suppressed because one or more lines are too long

View File

@@ -200,4 +200,30 @@ tea issues close --repo johno/nixos-configs 2
## Important Notes
- **Sudo access**: Claude Code does not have sudo access. Ask the user to run elevated commands like `sudo nixos-rebuild switch`
- **Sudo access**: Claude Code does not have sudo access. Ask the user to run elevated commands like `sudo nixos-rebuild switch`
## Landing the Plane (Session Completion)
**When ending a work session**, you MUST complete ALL steps below. Work is NOT complete until `git push` succeeds.
**MANDATORY WORKFLOW:**
1. **File issues for remaining work** - Create issues for anything that needs follow-up
2. **Run quality gates** (if code changed) - Tests, linters, builds
3. **Update issue status** - Close finished work, update in-progress items
4. **PUSH TO REMOTE** - This is MANDATORY:
```bash
git pull --rebase
bd sync
git push
git status # MUST show "up to date with origin"
```
5. **Clean up** - Clear stashes, prune remote branches
6. **Verify** - All changes committed AND pushed
7. **Hand off** - Provide context for next session
**CRITICAL RULES:**
- Work is NOT complete until `git push` succeeds
- NEVER stop before pushing - that leaves work stranded locally
- NEVER say "ready to push when you are" - YOU must push
- If push fails, resolve and retry until it succeeds

55
flake.lock generated
View File

@@ -1,5 +1,26 @@
{
"nodes": {
"beads": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs-unstable"
]
},
"locked": {
"lastModified": 1767911810,
"narHash": "sha256-0L4ATr01UsmBC0rSW62VIMVVSUihAQu2+ZOoHk9BQnA=",
"owner": "steveyegge",
"repo": "beads",
"rev": "28ff9fe9919a9665a0f00f5b3fcd084b43fb6cc3",
"type": "github"
},
"original": {
"owner": "steveyegge",
"repo": "beads",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
@@ -16,6 +37,24 @@
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"google-cookie-retrieval": {
"inputs": {
"nixpkgs": [
@@ -258,6 +297,7 @@
},
"root": {
"inputs": {
"beads": "beads",
"google-cookie-retrieval": "google-cookie-retrieval",
"home-manager": "home-manager",
"home-manager-unstable": "home-manager-unstable",
@@ -269,6 +309,21 @@
"plasma-manager": "plasma-manager",
"plasma-manager-unstable": "plasma-manager-unstable"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",

View File

@@ -42,6 +42,11 @@
url = "github:Jovian-Experiments/Jovian-NixOS";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
beads = {
url = "github:steveyegge/beads";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
};
outputs = { self, nixpkgs, nixpkgs-unstable, nixos-wsl, ... } @ inputs: let

View File

@@ -5,7 +5,7 @@ with lib;
let
cfg = config.home.roles.development;
# Fetch the claude-plugins repository
# Fetch the claude-plugins repository (for humanlayer commands/agents)
# Update the rev to get newer versions of the commands
claudePluginsRepo = builtins.fetchGit {
url = "https://github.com/jeffh/claude-plugins.git";
@@ -14,6 +14,7 @@ let
rev = "5e3e4d937162185b6d78c62022cbfd1c8ad42c4c";
ref = "main";
};
in
{
options.home.roles.development = {
@@ -36,12 +37,14 @@ in
config = mkIf cfg.enable {
home.packages = [
globalInputs.beads.packages.${system}.default
pkgs.unstable.claude-code
pkgs.unstable.claude-code-router
pkgs.unstable.codex
# Custom packages
pkgs.custom.tea-rbw
pkgs.custom.perles
];
# Install Claude Code humanlayer command and agent plugins
@@ -89,6 +92,16 @@ in
}"
'';
# Set up beads Claude Code integration (hooks for SessionStart/PreCompact)
# This uses the CLI + hooks approach which is recommended over MCP for Claude Code
home.activation.claudeCodeBeadsSetup = lib.hm.dag.entryAfter ["writeBoundary" "claudeCodeCommands"] ''
# Run bd setup claude to install hooks into ~/.claude/settings.json
# This is idempotent - safe to run multiple times
${globalInputs.beads.packages.${system}.default}/bin/bd setup claude 2>/dev/null || true
$DRY_RUN_CMD echo "Claude Code beads integration configured (hooks installed)"
'';
# Note: modules must be imported at top-level home config
};
}

View File

@@ -71,7 +71,10 @@
org-journal-file-format "%Y-%m-%d.org"
org-capture-templates
'(("t" "Todo" entry (file+headline "~/org/todo.org" "Inbox")
"* TODO %? \n %i \n%a" :prepend t))))
"* TODO %? \n %i \n%a" :prepend t)))
;; Make blocked tasks more visible in agenda (they have subtasks to do!)
(custom-set-faces!
'(org-agenda-dimmed-todo-face :foreground "#bb9af7" :weight normal)))
(map! :after org-agenda
:map org-agenda-mode-map
@@ -145,12 +148,24 @@
:args (list '(:name "dirpath" :type "string" :description "Directory path to list"))))
(use-package! claude-code-ide
:defer t
:config
(claude-code-ide-emacs-tools-setup)
:commands (claude-code-ide-menu claude-code-ide-open-here)
:init
(map! :leader
(:prefix ("o" . "open")
:desc "Claude Code IDE" "c" #'claude-code-ide-menu)))
:desc "Claude Code IDE" "c" #'claude-code-ide-menu))
:config
(claude-code-ide-emacs-tools-setup)
(setq claude-code-ide-cli-path "claude"
claude-code-ide-cli-extra-flags "--dangerously-skip-permissions"
claude-code-ide-focus-claude-after-ediff t
claude-code-ide-focus-on-open t
claude-code-ide-show-claude-window-in-ediff t
claude-code-ide-switch-tab-on-ediff t
claude-code-ide-use-ide-diff t
claude-code-ide-use-side-window t
claude-code-ide-window-height 20
claude-code-ide-window-side 'right
claude-code-ide-window-width 90))
(after! gptel
(require 'gptel-tool-library)

View File

@@ -14,6 +14,7 @@ let
keybindings = {
"${shared_config.modifier}+Return" = "exec ${terminal}";
"${shared_config.modifier}+Shift+Return" = "exec ${cfg.browser}";
"${shared_config.modifier}+Shift+q" = "kill";
"${shared_config.modifier}+a" = "focus parent";
@@ -98,6 +99,12 @@ in {
options.home.roles.i3_sway = {
enable = mkEnableOption "i3 and Sway tiling window managers with waybar and rofi";
browser = mkOption {
type = types.str;
default = "firefox --new-window";
description = "Browser to use for new window keybinding";
};
extraSharedConfig = mkOption {
type = types.attrs;
default = {};

View File

@@ -4,4 +4,5 @@
tea-rbw = pkgs.callPackage ./tea-rbw {};
app-launcher-server = pkgs.callPackage ./app-launcher-server {};
claude-code = pkgs.callPackage ./claude-code {};
perles = pkgs.callPackage ./perles {};
}

View File

@@ -0,0 +1,26 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "perles";
version = "unstable-2025-01-09";
src = fetchFromGitHub {
owner = "zjrosen";
repo = "perles";
rev = "main";
hash = "sha256-JgRayb4+mJ1r0AtdnQfqAw2+QRte+licsfZOaRgYqcs=";
};
vendorHash = "sha256-R7UWTdBuPteneRqxrWK51nqLtZwDsqQoMAcohN4fyak=";
# Tests require a real git repository context
doCheck = false;
meta = with lib; {
description = "A TUI for the Beads issue tracking system with BQL query language";
homepage = "https://github.com/zjrosen/perles";
license = licenses.mit;
maintainers = [ ];
mainProgram = "perles";
};
}