Commit graph

746 commits

Author SHA1 Message Date
DannyDannyDanny
52d60b9ce0 Install fixes: bootstrap-install.sh (curl one-liner), nix flags in script, mkDefault hostname, doc typos/verify
Made-with: Cursor
2026-03-08 18:06:54 +01:00
DannyDannyDanny
adae5e49f8 Add write-installer-iso-to-usb-on-server.sh; build script SSH key fix; doc
Made-with: Cursor
2026-03-08 16:49:34 +01:00
DannyDannyDanny
d3b9ffc703 Doc: official ISO from macOS; custom ISO build on Linux only
Made-with: Cursor
2026-03-08 16:21:24 +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
b29d170654 doc: add instructions for running commands on sunken-ship via SSH 📝 2026-03-08 15:59:13 +01:00
DannyDannyDanny
c8e255654c doc: sunken-ship WiFi configuration guide 📝 2026-03-08 15:58:51 +01:00
DannyDannyDanny
9011f8b302 doc: hostname candidates for server naming with Monte Cristo theme 📝 2026-03-08 15:58:24 +01:00
DannyDannyDanny
53feadc69d TODO: reorder - boot USB first, telegram bot last
Made-with: Cursor
2026-03-08 15:35:57 +01:00
DannyDannyDanny
bfc592417c TODO: mark sunken-ship wifi as done, remove from list
Made-with: Cursor
2026-03-08 15:35:53 +01:00
DannyDannyDanny
a114d2fc0c feat(sunken-ship): enable wireless networking support 2026-03-08 12:47:32 +01:00
DannyDannyDanny
4102a919ef doc: TODO list to reflect new tasks and remove completed items 📝
- Changed the first task to connect sunken-ship to the internet via wifi instead of ethernet.
- Updated the second task to host the telegram bot again, clarifying its purpose.
- Removed completed tasks related to SSH key management and server configuration.
2026-03-08 12:09:24 +01:00
DannyDannyDanny
e38640f8ea docs: add server-todo-ssh-key.md with ssh-keygen command (moved from .cursor/plans)
Made-with: Cursor
2026-03-08 12:06:53 +01:00
DannyDannyDanny
424ba82399 feat(sunken-ship): pwless ssh access 🔒 2026-03-08 12:05: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
cd7658f452 doc: SSH key management and secrets 📝
- Updated AGENTS.md to specify one key per purpose for SSH access, including naming conventions and configuration tips.
- Revised README.md to streamline the roadmap and link to SSH and secrets documentation.
- Created docs/ssh-and-secrets.md to outline the strategy for managing SSH keys and secrets in a public repo.
- Refined TODO.md to reflect the new approach for secrets and server configuration tasks.
2026-03-01 11:55:44 +01:00
DannyDannyDanny
1fdce52239 Add make-ubuntu-usb.sh: write Ubuntu desktop ISO to USB (macOS)
Made-with: Cursor
2026-02-28 16:27:48 +01:00
DannyDannyDanny
ed0a052a7c TODO: condense Secrets into actionable steps, drop Q&A section
Made-with: Cursor
2026-02-28 13:20:25 +01:00
DannyDannyDanny
2265cdcaff doc: server git pull without PATH, keep flakes bootstrap config in repo
- nixos-server.nix: comment for pull when sudo git not found
- readme: add 'Pull when git is not in PATH' and full-path fallback
- add server-configuration-with-flakes.nix for one-time scp to enable flakes

Made-with: Cursor
2026-02-28 12:15:38 +01:00
DannyDannyDanny
bfe7ae5622 nixos-server: turn off backlight after boot, add video group and light
- Add server-backlight-off service to set backlight to 0 ~65s after boot
  (consoleblank only blanks framebuffer; backlight stays on otherwise)
- Enable programs.light and add danny to video group for light(1) at console
- At console: light -S 100 to restore brightness

Made-with: Cursor
2026-02-28 11:49:04 +01:00
DannyDannyDanny
a3ae773dff nixos-server: console blank after 60s to reduce burn-in
Made-with: Cursor
2026-02-27 23:50:33 +01:00
DannyDannyDanny
3dcbe2e827 docs: agent server notes, README server link, TODO verify note, nixos readme
Made-with: Cursor
2026-02-27 23:36:19 +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
c51bfaac1e AGENTS.md: add public-repo note and concise NixOS server learnings; TODO.md: add verify step
Made-with: Cursor
2026-02-27 22:55:16 +01:00
DannyDannyDanny
4ffa774d3d server-quickstart: make guide more concise
Made-with: Cursor
2026-02-27 22:36:16 +01:00
DannyDannyDanny
503ef7051a server-quickstart: suggest graphical installer when Ethernet not available
Made-with: Cursor
2026-02-27 22:35:59 +01:00
DannyDannyDanny
b3c1b04c72 Add NixOS server quick-start guide
Made-with: Cursor
2026-02-27 22:35:43 +01:00
DannyDannyDanny
8d3224e404 fix(macbookair): update permitted insecure package version for Broadcom STA driver 2026-02-27 20:04:15 +01:00
DannyDannyDanny
973ecf8f5f fix(flake): remove duplicate vscode-server module entry in flake.nix 🐛 2026-02-27 19:55:30 +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
19132a127d feat: add zen-browser package support to home.nix configuration 2026-02-25 12:48:27 +01:00
DannyDannyDanny
0e3470af5b feat: update home.nix to include zen-browser and comment out vlc for MacOS compatibility 2026-02-25 12:48:09 +01:00
DannyDannyDanny
50e8b1b448 feat: add zen-browser support to home-manager and Nix configuration 2026-02-19 16:00:11 +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
6494056b4c feat: add vlc 2026-02-06 15:30:19 +07:00
DannyDannyDanny
8ad0f5e1af Fix exception handling order and add WebSocket fallback attempt
- Fix exception handling to catch URLError before generic Exception
- Add WebSocket fallback attempt when HTTP endpoint fails
- Note: WebSocket fallback may not work as Firefox uses different protocol than CDP
- Known issue: HTTP /json/list endpoint closes connection even when DevTools shows connected
2026-02-01 15:06:50 +01:00
DannyDannyDanny
90565ae16a Add WebSocket fallback for tab listing when HTTP endpoint fails
- Add get_tabs_via_websocket() to query tabs via WebSocket when HTTP /json/list fails
- Update get_tabs_via_rdp() to try WebSocket fallback
- Update get_tab_html_async() to use WebSocket fallback for getting tab WebSocket URLs
- Known issue: HTTP endpoint may not respond even when DevTools shows connected
2026-02-01 15:05:54 +01:00
DannyDannyDanny
a228866b0c Fix asyncio deprecation warning and improve error messages
- Replace asyncio.get_event_loop() with asyncio.get_running_loop()
- Add better error messages when HTTP endpoint fails
- Show available tab IDs when tab not found
- Handle HTTP endpoint connection failures gracefully
2026-02-01 15:04:41 +01:00
DannyDannyDanny
b2b0d76e02 Update faf README with content command and troubleshooting
- Document new 'content' command for fetching HTML from tabs
- Add troubleshooting section for HTTP endpoint issues
- Add instructions for running from Nix development shell
- Note requirement for 'nix develop -c $(which fish)'
2026-02-01 15:03:47 +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
9b6d5e51dc Configure Firefox remote debugging preferences
- Enable devtools.debugger.remote-enabled
- Set devtools.debugger.remote-port to 6000
- Enable devtools.chrome.enabled (required for remote debugging)
- Set devtools.debugger.prompt-connection to false (disable permission prompts)
2026-02-01 15:03:44 +01:00
DannyDannyDanny
d9eccc8cdb Add websockets Python package to faf development environment
- Add websockets dependency to Python environment in flake.nix
- Required for WebSocket connections to Firefox tabs
2026-02-01 15:03:43 +01:00
DannyDannyDanny
2253bdde5d Add WebSocket support and content command to faf script
- Add WebSocket connection functions for Firefox Remote Debugging Protocol
- Implement CDP Runtime.evaluate protocol communication
- Add 'content' command to fetch HTML from tabs via WebSocket
- Add get_tab_html() function to orchestrate HTML retrieval
- Increase connection timeout for RDP requests
2026-02-01 15:03:42 +01:00
DannyDannyDanny
b2526ee952 Fix faf script path in home.nix 2026-01-30 18:26:34 +01:00
DannyDannyDanny
9aedc697d9 Rename firefox-tabs to f-around-firefox (faf) and add to PATH 2026-01-30 18:26:15 +01:00
DannyDannyDanny
91d35d1324 Shorten README to usage only 2026-01-30 18:24:28 +01:00
DannyDannyDanny
6dd73a4326 Add README to firefox-tabs script 2026-01-30 18:22:21 +01:00
DannyDannyDanny
ef4aa54100 Remove old firefox-tabs.py from scripts root 2026-01-30 18:19:43 +01:00