Session overhaul: dev tooling, cleanup, theming, fixes

Tooling:
- nh + nvd/nom/statix/deadnix/comma (new programs/nix.nix); GC via nh clean
- zoxide (cd), atuin, just, lazydocker, dust, duf, difftastic (git dft)

Structure:
- rename desktop -> konishi; homeConfigurations -> "user@host" for nh autodetect

Removals (heavy/unused):
- android-studio, unity/.NET/omnisharp/vscode, kicad, zoom, calibre,
  google-fonts, nerd-dictation

Screen recording:
- kooha + vokoscreen-ng + `webcam` corner-cam command/window-rule

Fixes:
- WEBKIT_DISABLE_DMABUF_RENDERER moved to common (electron/tauri on intel)
- kitty pinned to Catppuccin-Mocha; darkman no longer toggles kitty/claude
- claude theme dark + statusline locale fix
- ssh: migrate to settings API + multiplexing/keepalive/AddKeysToAgent;
  gpg-agent enableSshSupport
- silence hyprland configType / gtk4 / xdg userDirs deprecations

Flake hygiene:
- follows=nixpkgs for foundry/hardware/rose-pine/zen/spicetify (10->5 nixpkgs)
- zoxide _ZO_DOCTOR=0

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Miguel Palhas
2026-06-27 18:17:25 +01:00
parent 474bd840d2
commit 39e6276c7d
23 changed files with 569 additions and 682 deletions
+32 -30
View File
@@ -1,37 +1,39 @@
_:
{
# Global config file
xdg.configFile."opencode/opencode.json".source = ./opencode.json;
xdg.configFile = {
# Global config file
"opencode/opencode.json".source = ./opencode.json;
# Global rules (equivalent to ~/.claude/CLAUDE.md)
xdg.configFile."opencode/AGENTS.md".source = ./AGENTS.md;
# Global rules (equivalent to ~/.claude/CLAUDE.md)
"opencode/AGENTS.md".source = ./AGENTS.md;
# Custom agents
xdg.configFile."opencode/agents/oracle.md".source = ./agents/oracle.md;
xdg.configFile."opencode/agents/explorer.md".source = ./agents/explorer.md;
xdg.configFile."opencode/agents/librarian.md".source = ./agents/librarian.md;
xdg.configFile."opencode/agents/fixer.md".source = ./agents/fixer.md;
xdg.configFile."opencode/agents/designer.md".source = ./agents/designer.md;
xdg.configFile."opencode/agents/designer-bold.md".source = ./agents/designer-bold.md;
xdg.configFile."opencode/agents/analyze-branch.md".source = ./agents/analyze-branch.md;
# Custom agents
"opencode/agents/oracle.md".source = ./agents/oracle.md;
"opencode/agents/explorer.md".source = ./agents/explorer.md;
"opencode/agents/librarian.md".source = ./agents/librarian.md;
"opencode/agents/fixer.md".source = ./agents/fixer.md;
"opencode/agents/designer.md".source = ./agents/designer.md;
"opencode/agents/designer-bold.md".source = ./agents/designer-bold.md;
"opencode/agents/analyze-branch.md".source = ./agents/analyze-branch.md;
# Global commands
xdg.configFile."opencode/commands/work.md".source = ./commands/work.md;
xdg.configFile."opencode/commands/merge.md".source = ./commands/merge.md;
xdg.configFile."opencode/commands/update.md".source = ./commands/update.md;
xdg.configFile."opencode/commands/smart-debug.md".source = ./commands/smart-debug.md;
xdg.configFile."opencode/commands/tdd-cycle.md".source = ./commands/tdd-cycle.md;
xdg.configFile."opencode/commands/security-scan.md".source = ./commands/security-scan.md;
xdg.configFile."opencode/commands/issue.md".source = ./commands/issue.md;
xdg.configFile."opencode/commands/remove-deadcode.md".source = ./commands/remove-deadcode.md;
xdg.configFile."opencode/commands/worktree-compare.md".source = ./commands/worktree-compare.md;
xdg.configFile."opencode/commands/worktree-list.md".source = ./commands/worktree-list.md;
# Global commands
"opencode/commands/work.md".source = ./commands/work.md;
"opencode/commands/merge.md".source = ./commands/merge.md;
"opencode/commands/update.md".source = ./commands/update.md;
"opencode/commands/smart-debug.md".source = ./commands/smart-debug.md;
"opencode/commands/tdd-cycle.md".source = ./commands/tdd-cycle.md;
"opencode/commands/security-scan.md".source = ./commands/security-scan.md;
"opencode/commands/issue.md".source = ./commands/issue.md;
"opencode/commands/remove-deadcode.md".source = ./commands/remove-deadcode.md;
"opencode/commands/worktree-compare.md".source = ./commands/worktree-compare.md;
"opencode/commands/worktree-list.md".source = ./commands/worktree-list.md;
# Skills
xdg.configFile."opencode/skills/git-master/SKILL.md".source = ./skills/git-master/SKILL.md;
xdg.configFile."opencode/skills/planning-with-files/SKILL.md".source =
./skills/planning-with-files/SKILL.md;
xdg.configFile."opencode/skills/react-patterns/SKILL.md".source = ./skills/react-patterns/SKILL.md;
xdg.configFile."opencode/skills/vercel-react-best-practices/SKILL.md".source =
./skills/vercel-react-best-practices/SKILL.md;
# Skills
"opencode/skills/git-master/SKILL.md".source = ./skills/git-master/SKILL.md;
"opencode/skills/planning-with-files/SKILL.md".source =
./skills/planning-with-files/SKILL.md;
"opencode/skills/react-patterns/SKILL.md".source = ./skills/react-patterns/SKILL.md;
"opencode/skills/vercel-react-best-practices/SKILL.md".source =
./skills/vercel-react-best-practices/SKILL.md;
};
}