Commit graph

125 commits

Author SHA1 Message Date
DannyDannyDanny
420f3881b5 feat: add phantom-ship real hardware config 🖥️
Generated by nixos-generate-config during install; cleaned up
duplicate bind-mount entries from chroot detection.
2026-03-31 14:52:57 +02:00
DannyDannyDanny
92593c7d0a fix: add initialPassword fallback for phantom-ship console login 🔑
No password was set, locking out console access. initialPassword gives
a known fallback until SSH key is installed and password is changed.
2026-03-31 14:46:19 +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
33e2e327b5 fix(nixos): increase UxPlay ALSA buffer to reduce audio chop 🐛
WiFi jitter causes underruns with default buffer. Set buffer-time
to 200ms for smoother playback.
2026-03-31 10:01:22 +02:00
DannyDannyDanny
384b84fec2 fix(nixos): enable nix-ld on sunken-ship for Claude Code 🐛
The Claude Code remote CLI is a dynamically linked binary that
fails on NixOS without a standard ld-linux stub. nix-ld provides it.
2026-03-30 23:52:03 +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
657e250f75 fix(nixos): quote UxPlay alsasink GStreamer pipeline arg 🔧 2026-03-30 16:17:14 +02:00
DannyDannyDanny
cea6913cf3 fix(nixos): route UxPlay audio directly to ALSA on sunken-ship 🔊
Drop PipeWire (WirePlumber fails to detect ALSA cards without a
graphical session). Use GStreamer alsasink with plughw:USB,0 to
output directly to the Scarlett Solo.
2026-03-30 16:16:18 +02:00
DannyDannyDanny
84715596f5 feat(nixos): add PipeWire and fix UxPlay audio on sunken-ship 🔊
Enable PipeWire with ALSA/PulseAudio compat so GStreamer can output
audio. Move UxPlay to a user service with linger so it can reach
PipeWire. Add danny to audio group, add alsa-utils for debugging.
2026-03-30 15:49:35 +02:00
DannyDannyDanny
ee2fa1e5f1 feat(nixos): add UxPlay systemd service on sunken-ship 🔊
Audio-only AirPlay receiver that starts at boot, advertises as
"sunken-ship", and auto-restarts on failure.
2026-03-30 15:44:00 +02:00
DannyDannyDanny
e2b820aac0 feat(nixos): add UxPlay AirPlay receiver to sunken-ship 📡
Enable Avahi for mDNS discovery and open firewall ports for
AirPlay mirroring (TCP 7000-7100, UDP 5353/6000-6001/7011).
2026-03-30 15:38:27 +02:00
DannyDannyDanny
d8e5cbe26a fix(nixos): add safe.directory for dotfiles-rebuild service 🔧
Git refuses to operate on /etc/dotfiles owned by danny when the
service runs as root. Pass safe.directory via environment variables.
2026-03-30 14:20:31 +02:00
DannyDannyDanny
bded1b359d fix(macos): install disk-inventory-x via Homebrew cask
Use the Homebrew cask on Apple Silicon because the nixpkgs package is x86_64-darwin only, and document the reason inline to prevent future regressions.

Made-with: Cursor
2026-03-25 10:54:41 +01:00
DannyDannyDanny
309d97c708 feat(nixos): add scheduled garbage collection and optimization for Nix 🎨
Implement launchd daemons for automatic Nix garbage collection and store optimization on a weekly schedule. The configuration includes intervals for both tasks to ensure efficient management of Nix store resources.
2026-03-25 10:49:37 +01:00
DannyDannyDanny
be4233a53b feat(macos): install Google Chrome via Homebrew cask
Enable declarative Homebrew cask management on the macOS host so Google Chrome is installed during darwin activation and stale Homebrew items are cleaned up with zap.

Made-with: Cursor
2026-03-24 15:17:19 +01: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
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
bb90cce31c Add claude-code to macbook system packages
Made-with: Cursor
2026-03-20 08:41:14 +01:00
DannyDannyDanny
5e1de21d6c Replace neofetch with fastfetch
Made-with: Cursor
2026-03-20 08:41:13 +01:00
DannyDannyDanny
0fb4fe7d6c Set efiSysMountPoint = /boot so systemd-boot install succeeds with disko
Made-with: Cursor
2026-03-08 18:38:26 +01:00
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
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
a114d2fc0c feat(sunken-ship): enable wireless networking support 2026-03-08 12:47:32 +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
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
84a065a3df nixos-server: flake, hardware, readme bootstrap, server-quickstart, TODO
Made-with: Cursor
2026-02-27 23:18:57 +01:00
DannyDannyDanny
8d3224e404 fix(macbookair): update permitted insecure package version for Broadcom STA driver 2026-02-27 20:04:15 +01:00
DannyDannyDanny
4bc5e5a245 refactor: home confign + macos.nix with direnv and additional development tools 2026-01-11 13:18:43 +01:00
DannyDannyDanny
92c6bc69b6 fix: disable bloat, temporarily disable failing builds 🐛 2026-01-11 13:02:58 +01:00
DannyDannyDanny
5d732ae785 feat: add ffmpeg 2026-01-01 14:25:13 +00:00
DannyDannyDanny
52749c0647 feat: add mpv to macos 2025-12-28 21:40:01 +00:00
DannyDannyDanny
843f768038 feat: add find replacement fd 2025-12-08 13:09:58 +01:00
DannyDannyDanny
971c1f997d feat: add zoxide 2025-12-01 10:31:44 +01:00
DannyDannyDanny
3030736cb0 feat: add jujutsu vcs 2025-12-01 10:06:05 +01:00
DannyDannyDanny
2724fb9907 feat: add mapscii 2025-10-26 19:48:42 +01:00
DannyDannyDanny
029cd3f268 feat: add ollama 💩 2025-10-26 19:48:17 +01:00
DannyDannyDanny
af95fafecc feat: add zed-editor 2025-10-26 19:47:33 +01:00
DannyDannyDanny
2042d348e9 feat: add az, vscodium, warp-term 2025-10-08 10:02:24 +02:00
DannyDannyDanny
8cbd8a2324 feat: add discord 2025-09-22 11:15:58 +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
922a68ea47 feat: add cursor-cli package for cursor-agent
- Add cursor-cli package to system packages in macos.nix
- Provides cursor-agent binary for Cursor AI agent functionality
- cursor-agent is now available at /run/current-system/sw/bin/cursor-agent
2025-09-13 17:31:01 +02:00
DannyDannyDanny
d923edb9ec fix: use correct cursor package (code-cursor) and clean up manual installation
- Replace cursor-cli with code-cursor package (the correct Nix package)
- Remove manually installed Cursor.app from /Applications/
- Remove broken symlink from /usr/local/bin/cursor
- Backup Cursor user data to ~/dotfiles/backups/cursor/
- Nix-managed cursor (v1.5.11) now working correctly from /run/current-system/sw/bin/cursor
2025-09-12 15:30:19 +02:00
DannyDannyDanny
6084044b58 feat: add cursor-cli to system packages
- Add cursor-cli to macOS system packages
- Provides command-line access to Cursor editor
- Version 1.5.11 installed and verified working
2025-09-12 14:53:39 +02:00
DannyDannyDanny
644cd2e063 feat: add tree to nix-darwin 🍎 2025-09-12 12:22:39 +02:00