Commit graph

33 commits

Author SHA1 Message Date
DannyDannyDanny
b04b53f9c4 feat: add OpenClaw gateway to phantom-ship 🤖
Telegram bot via nix-openclaw NixOS module. Secrets (API key,
bot token) loaded from /etc/openclaw/ at runtime. Telegram user
ID read from gitignored openclaw-allow-from.nix.
2026-04-03 12:02:02 +02:00
DannyDannyDanny
d4dbd73a8c feat(nixos): add phantom-ship host and streamline server installer
- New host config: phantom-ship.nix (SSH, auto-rebuild, nix-ld, Ethernet)
- Hardware stub: phantom-ship-hardware.nix (replaced by install script)
- Add phantom-ship to flake.nix with home-manager
- Install script now auto-provisions post-install:
  - Clones dotfiles to /etc/dotfiles
  - Installs SSH public key (SSH_PUBKEY_FILE env var)
  - Generates hardware config
  - Supports INSTALLER_HOSTNAME and INSTALLER_DISK env vars
- Fix bootstrap-install.sh default branch to main
- Update CLAUDE.md and server-installer-usb.md
2026-03-31 11:37:15 +02:00
DannyDannyDanny
ee4c2db93f refactor: consolidate tmux config into home-manager 🎨
Remove system-level tmux.nix; home.nix is now the single source.
Port resize-pane shortcuts (H/J/K/L) from the old config.
2026-03-30 18:12:41 +02:00
DannyDannyDanny
533e5810a9 refactor(wsl): move user packages to home-manager 🎨
Enable home-manager on WSL, importing the shared home.nix config.
Remove duplicate packages and env vars from wsl.nix that are now
provided by home-manager (git, ripgrep, fzf, direnv, etc.).
2026-03-30 18:03:11 +02:00
DannyDannyDanny
e44ef1fdcc chore: remove legacy macbookair host config 🔥
Superseded by daniel-macbook-air.nix (nix-darwin) and wsl.nix.
Also removes its orphaned hardware-configuration.nix.
2026-03-30 18:02:03 +02:00
DannyDannyDanny
463249961e fix(nixos): replace removed light option and harden char-count script
Restore flake checks by removing deprecated `programs.light` from sunken-ship and switching to brightnessctl guidance. Also clean up flake formatting and make the Raycast char-count script safer for empty input.

Made-with: Cursor
2026-03-24 12:58:40 +01:00
DannyDannyDanny
82ce5a7fe8 Rename macOS nix-darwin host to daniel-macbook-air.nix
Match hostname Daniel-Macbook-Air; update flake and docs.

Made-with: Cursor
2026-03-23 19:36:39 +01:00
DannyDannyDanny
18ccebc109 chore: remove all OpenClaw integration from dotfiles 🔥
OpenClaw is no longer used. Removes flake inputs (nix-openclaw,
openclaw-documents), overlays, home-manager modules, config files,
docs, and related TODO/gitignore entries.
2026-03-22 12:00:32 +01:00
DannyDannyDanny
0eb9d0e8ed OpenClaw: documents from local path, rebuild workaround, forgejo-cli
- Documents (SOUL/TOOLS/AGENTS) from path input to openclaw-documents-repo
- Flake: openclaw-documents.url = path to local clone (no SSH under sudo)
- Remove in-repo openclaw-documents; add docs/openclaw-documents.md
- openclaw.nix: activation backup + force for openclaw.json (TODO to remove)
- home.nix: add forgejo-cli
- .gitignore: openclaw-documents-repo; drop SOUL/TOOLS ignores
- AGENTS.md: OpenClaw docs ref
- TODO: remove OpenClaw activation/force bloat

Made-with: Cursor
2026-03-14 11:48:59 +01:00
DannyDannyDanny
703720da96 OpenClaw: integrate in dotfiles flake, secrets from files
- Add nix-openclaw to flake; OpenClaw config in home/danny/openclaw.nix
- Gateway token from ~/.secrets/openclaw-gateway-token via wrapper script
- Telegram allowFrom from gitignored openclaw-allow-from.nix (example committed)
- openclaw-documents (AGENTS.md, SOUL.md, TOOLS.md) for workspace
- AGENTS.md: note OpenClaw config location and apply command

Made-with: Cursor
2026-03-14 10:51:52 +01:00
DannyDannyDanny
3e07a55f5b Add NixOS server installer USB (disko LUKS + WiFi, hostname prompt)
- disko-server.nix: LUKS + ESP + ext4 root layout for disko-install
- server-install: minimal NixOS config for new servers (hostname/WiFi via --system-config)
- installer-iso: custom minimal ISO with iwlwifi; build with nix build .#installer-iso
- scripts/nixos-server-install.sh: prompt hostname/disk, run disko-install
- docs/server-installer-usb.md: build, write USB, optional live/installed WiFi
- .gitignore: nixos/installer-wifi.nix; AGENTS.md + README.md notes

Made-with: Cursor
2026-03-08 16:16:25 +01:00
DannyDannyDanny
1338fb1b68 Rename nixos-server to sunken-ship
- Rename hosts/nixos-server.nix -> sunken-ship.nix, nixos-server-hardware.nix -> sunken-ship-hardware.nix
- Flake: nixos-server -> sunken-ship, update module path
- Set networking.hostName = sunken-ship in server configs
- Update AGENTS.md, nixos/readme.md, docs/ssh-and-secrets.md, TODO.md

Made-with: Cursor
2026-03-01 12:44:28 +01:00
DannyDannyDanny
84a065a3df nixos-server: flake, hardware, readme bootstrap, server-quickstart, TODO
Made-with: Cursor
2026-02-27 23:18:57 +01:00
DannyDannyDanny
973ecf8f5f fix(flake): remove duplicate vscode-server module entry in flake.nix 🐛 2026-02-27 19:55:30 +01:00
DannyDannyDanny
50e8b1b448 feat: add zen-browser support to home-manager and Nix configuration 2026-02-19 16:00:11 +01:00
DannyDannyDanny
a8f2a59db5 Add automatic backup configuration for home-manager
- Set home-manager.backupFileExtension to 'backup'
- Automatically backs up files before home-manager overwrites them
- Prevents data loss when managing Firefox profiles.ini
2026-02-01 15:03:45 +01:00
DannyDannyDanny
7a34ccfc7f refactor: neovim config out of home-manager 🎨 2026-01-11 15:04:22 +01:00
DannyDannyDanny
ea8fb243c3 fix(darwin+HM): align nixpkgs↔nix-darwin, force HM home path, dedupe nvim/tmux 🔧
- track nixpkgs at `github:NixOS/nixpkgs/nixpkgs-unstable` to pair with
  `nix-darwin/master`
- update lockfile inputs: flake-compat, home-manager, NixOS-WSL,
  nixpkgs, nixos-vscode-server
- darwin: wrap HM module in a function to access `lib` and
  `mkForce` `home.homeDirectory = "/Users/danny"` (and set username) to
  satisfy HM’s absolute-path requirement under root activation
- HM: comment out duplicated `home.username` / `home.homeDirectory` in
  `home/danny/home.nix`
- HM: remove `neovim` and `tmux` from `home.packages` (managed via
  `programs.*`), fixing conflicting `nvim` subpath error
2025-09-09 21:57:04 +02:00
DannyDannyDanny
42536537fa feat!: adding neovim via homemanager
💥D
2025-09-09 21:04:42 +02:00
DannyDannyDanny
27f01984e8 Merge branch 'main' into feat/wsl-neovim-update 2025-09-09 18:36:02 +02:00
DannyDannyDanny
7544e12117 chore: revert neovim changes, remove tmux + fish from nix-darwin 🔨 2025-09-08 20:41:49 +02:00
Daniel Thoren
ecade3a03e
feat: add tmux, fish, nix configs to macos 🍎 2025-09-08 19:16:17 +02:00
Daniel Thoren
5a7a8b9f5f
fix(macos): relative path 🐛 2025-09-08 13:52:32 +02:00
Daniel Thoren
8007a8dfd3
chore: move hostPlatform to macos.nix + doc: todo 🚚📝 2025-09-08 13:34:43 +02:00
Daniel Thoren
6eb2da277f
feat(flake): add nix-darwin config for macOS 🍎 2025-09-05 11:35:43 +02:00
DannyDannyDanny
14bdd2db85 feat: restructure flake into multi-host setup 🎨 2025-08-17 20:39:27 +02:00
DannyDannyDanny
0368fcce91 feat: WSL config to hosts/wsl.nix & extract shared modules 🚚 2025-07-16 19:40:41 +00:00
DannyDannyDanny
68502efec2 feat: add multiple configurations 2025-07-16 13:59:18 +00:00
DannyDannyDanny
e14db4bfd4 add (nerfed) neovim config from wsl branch 2025-02-09 15:42:04 +01:00
DannyDannyDanny
ce6249997e add fish config from wsl branch 2025-02-07 19:24:07 +01:00
DannyDannyDanny
e960996767 add temp.disabled uxplay to flake.nix 2025-02-07 19:07:15 +01:00
DannyDannyDanny
d12b93664d 🎨 use flakes in dotfiles 2025-02-07 19:06:37 +01:00
DannyDannyDanny
f32a5b33fa 📌 add flake, tools, audio & good-to-haves 🤷 2025-01-18 07:57:27 +00:00