Commit graph

111 commits

Author SHA1 Message Date
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
DannyDannyDanny
5e422e7813 feat: add Alacritty terminal configuration to Home Manager 2025-09-11 15:02:31 +02:00
DannyDannyDanny
e988bb4eac feat: set user shell to fish 🐟 2025-09-10 10:33:29 +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
64dff944ae chore: nice apple configs 🍎 2025-09-08 20:48:13 +02:00
DannyDannyDanny
b7f63f305d fix(neovim): guard NixOS module to Linux for nix-darwin compatibility 🔧
- wrap Neovim module in `lib.mkIf pkgs.stdenv.isLinux` (no-op on macOS)
- add `lib` to module args
- fix Lua message var: use `config_file` instead of undefined `file`
- keep existing plugins and customRC on Linux unchanged
2025-09-08 19:46:49 +02:00
Daniel Thoren
bfb924a610
chore: re-enable ApplePressAndHoldEnabled 🎨 2025-09-08 19:14:25 +02:00
Daniel Thoren
0701e6b107
fix: nix management (now managed by Determinate Systems) 🐛 2025-09-08 15:08:59 +02:00
Daniel Thoren
e2f8ab3088
fix(macos): deactivate busybox 🐛 2025-09-08 14:56:38 +02:00
Daniel Thoren
948798af4a
fix(darwin): migrate to new nix-darwin options & root activation 🔧
- set `nix.enable = true`; remove deprecated `services.nix-daemon.enable` 🔥
- replace unsafe `nix.settings.auto-optimise-store` with `nix.optimise.automatic`
- rename Touch ID option to `security.pam.services.sudo_local.touchIdAuth`
- add `system.primaryUser = "danny"` so user-scoped macOS defaults apply under root activation
- keep GC schedule; retain `nixpkgs.hostPlatform = "aarch64-darwin"`
- (minor) expand `environment.systemPackages` with `git`, `gnupg`, `coreutils`

This adapts the config to recent nix-darwin changes and fixes evaluation failures during `darwin-rebuild`.
2025-09-08 14:52:14 +02:00
Daniel Thoren
3a6fbd2f89
fix(macos): set darwin state-version to 6 🐛 2025-09-08 13:55:39 +02:00
Daniel Thoren
e5a7512a98
feat(macos): improve nix-darwin config for stability and ergonomics 2025-09-08 13:40:09 +02:00
Daniel Thoren
dfd4a10c1a
fix: macos.nix 🐛 2025-09-05 11:44:11 +02:00
Daniel Thoren
44070bb012
chore: rename macbook.nix to macos.nix 🚚 2025-09-05 11:14:07 +02:00