Skip to content

the nix config superpower that allows my minions to be reborn if were anything happen to them

License

Notifications You must be signed in to change notification settings

thuvasooriya/.phoenix

Repository files navigation

phoenix

stargazers

nix config to be reborn again and again anywhere and everywhere.

apart from the sexy name, this config is nowhere near useable. i'm currently testing it on my macbook with apple silicon and some of my cute little linux machines which are also aarch64. so i don't think this is the phoenix that i want it to be yet, but i mean... when is a child ever what you want to be. (cringe intended)

directory strcture and helper functions are copied from ryan4yin's config

setup note

# if you are deploying for the first time,
# 1. install nix & homebrew manually.
# 2. prepare the deployment environment with essential packages available
nix-shell -p just nushell
# 3. comment home-manager's code in lib/macos_system.nix to speed up the first deplyment.
# deploy madhu's configuration(apple silicon)
just ma
# or
# deploy with details
just ma debug

what y'all will need when nix drives you to drink. (copy from ryan4yin's nix-config repo, when i pulled an all nighter to finish the damn restructuring, this thing really held me togeather)

todo

  • make nvim config cloning independent of where .phoenix is
  • zig overlay setup

current goals

  • error free mac config: madhu
  • setup nixos vm config for orbstack and parallels(desktop): shoko
  • setup orangepi02w sbc config: gojo
  • setup raspberry pi 4b config: yuji
  • siphon the whole ghostty terminal setup on macOS to be reproducible

looking forward

  • error handling
  • stability pinning
  • encryption and securities automation
  • system-manager for generic linux

done

  • basic fish and starship setup
  • porting my starship and fish goodies to nix
  • transferred all homebrew casks
  • initial zig setup for zvm support
  • initial nvim config with partial determinism

references

sacrifices

whole damn days and a whole fucking load of sanity