Commit graph

25 commits

Author SHA1 Message Date
DannyDannyDanny
9283643e07 feat(fish): add gco — smart checkout that cds into worktrees 🌿
If the target branch is already checked out in another worktree,
`gco <branch>` cds there instead of erroring with "already used by
worktree at". Falls through to plain `git checkout` otherwise.
2026-06-05 17:18:57 +02:00
DannyDannyDanny
88c51399d0 refactor(nix): move flake to repo root 🚚
clan-cli silently ignores the `?dir=` URL parameter when resolving a
flake source, so with the flake at nixos/flake.nix `clan machines
update` fails with "flake.nix does not exist". Move the flake tree up
so the repo root contains flake.nix, flake.lock, flake-modules/, lib/,
modules/, sops/, and vars/. Host-specific NixOS modules stay in
nixos/{hosts,home,fish.nix,neovim.nix,…}; flake-module paths updated
accordingly.

- dotfiles-rebuild flakeRef is now "${dotfilesDir}#<host>" (was
  "${dotfilesDir}/nixos#<host>").
- CLAUDE.md build commands + clan section updated. nixupdate fish alias
  updated. sunken-ship hostsfile comment updated.
- Existing /etc/dotfiles checkouts on the servers will pick up the new
  layout on the next `dotfiles-rebuild` timer tick; the rebuild service
  was pre-updated via rsync so its flakeRef matches before the pull.

Also includes 4b follow-through: zerotier identities are now live on
both servers (sunken-ship=d553a2de33 controller, phantom-ship=6c048abbdc
peer) and IPv6 ping across the ZT mesh works.
2026-04-19 15:19:59 +02:00
DannyDannyDanny
b311e21d5b feat(macos): Alacritty follows system light/dark appearance
New setup — due for review after you run darwin-rebuild switch and
live with it for a few days. See CLAUDE.md (Alacritty) and
assets/alacritty/README.md.

- HM: import active-colors.toml + Catppuccin latte/mocha fragments
- nix-darwin: launchd.user.agents.alacritty-system-theme + PATH helper
- fish: background sync on Darwin; theme.sh no longer rebuilds for Alacritty
- Remove switch-alacritty-theme.sh (sed + darwin-rebuild per toggle)

Made-with: Cursor
2026-03-23 19:16:05 +01:00
DannyDannyDanny
9c816b95ce refactor: rename git cleanup alias to 'tidy' in fish and home.nix configurations 🎨 2026-02-25 12:57:41 +01:00
DannyDannyDanny
d3e1fbb85d feat: add git branch clean up function 2026-02-25 12:57:20 +01:00
DannyDannyDanny
f561dfb926 feat: enhance fish shell key bindings with fzf integration 2026-02-19 15:16:06 +01:00
DannyDannyDanny
2bbb366d7b feat: add nix update command 2026-02-18 13:36:41 +01:00
DannyDannyDanny
07f458fedf feat: alias zoxide to cd 2026-02-18 13:36:20 +01:00
DannyDannyDanny
daf3efaea6 fix: parametrize home folder 🐛 2025-12-28 21:39:20 +00:00
DannyDannyDanny
f16506a108 feat: shell-alias to cd into tmp dir 2025-12-28 21:38:38 +00:00
DannyDannyDanny
50d5f3a9e6 feat: alias nix develop to nide 2025-12-02 13:36:52 +01:00
DannyDannyDanny
bc66b138f7 feat: enable zoxide on shell init 2025-12-01 10:34:57 +01:00
DannyDannyDanny
974baa9071 feat: add weather alias 2025-11-28 14:54:40 +02:00
DannyDannyDanny
9814feb179 Fix tmux scrolling: enable smooth line-by-line scrolling
- Override default wheel bindings that caused 5-line jumps
- Add custom bindings for smooth 1-line scrolling
- Clean up trailing whitespaces in fish.nix
- Adjust Alacritty scroll multiplier from 3 to 1
2025-09-13 20:39:05 +02:00
DannyDannyDanny
f72b7e6ddb Clean up trailing whitespaces
- Remove trailing whitespaces from all .nix files
- Remove trailing whitespaces from shell scripts
- Remove trailing whitespaces from README files
- Improves code consistency and follows best practices
2025-09-13 17:39:26 +02:00
DannyDannyDanny
a16fcb9f51 Set nvim as default editor across all configurations
- Add EDITOR and VISUAL environment variables to fish shell init
- Add system-level EDITOR and VISUAL variables for macOS and WSL
- Ensures nvim is used as default editor for git, system tools, and applications
- Maintains existing neovim defaultEditor configuration
2025-09-13 17:37:34 +02:00
DannyDannyDanny
072f197660 feat: unify theme switching with cross-platform script
- Create unified theme.sh script that works on both WSL and macOS
- Update fish alias to use new unified script instead of WSL-specific one
- Maintain backward compatibility with existing theme command
- Update documentation to reflect unified approach
- Script automatically detects platform and calls appropriate functionality
2025-09-12 13:41:49 +02:00
DannyDannyDanny
a88286a64e fix: feat: add Homebrew fish support + make fish greeting date BSD compatible 🐟 2025-09-11 14:42:41 +02:00
DannyDannyDanny
bf76b59f3c fix: macOS compatible ps flags 🐛 2025-09-11 14:00:19 +02:00
DannyDannyDanny
83cf701855 feat: add mpd / fzf music command 2025-08-23 20:09:59 +00:00
DannyDannyDanny
b50517188e chore: remove ssh startup commands 🔥
* they don't work anyway
2025-06-26 16:46:34 +00:00
DannyDannyDanny
2b06e6215e feat: launch ssh-agent + add github ssh key to agent on shell start 2025-05-11 20:30:27 +00:00
DannyDannyDanny
e3eb3d42eb add wsl-theme-change fish alias 2025-01-28 08:56:00 +00:00
DannyDannyDanny
b895c72205 🐛 fix bash launching fish 2024-08-20 14:23:58 +00:00
DannyDannyDanny
970b9ace99 use fish shell 2024-08-20 13:30:36 +00:00