b1fb7eb124
- Complete NixOS configuration with Cursor AppImage - Development environment with Node.js, Python, Rust - Modern shell setup with Zsh and Starship - AppImage support and desktop integration - Comprehensive documentation and quick start guide
1.5 KiB
1.5 KiB
Quick Start Guide
Get Cursor 1.3.9 running on NixOS in minutes!
Prerequisites
- NixOS system with flakes enabled
- Git installed
Quick Setup
-
Clone and enter the repository:
git clone <your-repo-url> cd cursor-flake -
Customize the username (optional):
- Edit
home.nixand changehome.username = "liam";to your username - Edit
configuration.nixand changeusers.users.liamto your username
- Edit
-
Deploy to your system:
sudo nixos-rebuild switch --flake .#cursor-system -
Launch Cursor:
- From applications menu: Look for "Cursor"
- From terminal: Run
cursor
What You Get
- ✅ Cursor 1.3.9: Latest AI-first code editor
- ✅ Development Environment: Node.js, Python, Rust, Git
- ✅ Modern Shell: Zsh with Starship prompt
- ✅ CLI Tools: ripgrep, fd, bat, eza, fzf, tmux
- ✅ Desktop Integration: GNOME with proper launcher
Testing
To test before deploying:
# Build the system (takes a few minutes)
nix build .#nixosConfigurations.cursor-system.config.system.build.vm
# Run in VM (optional)
./result/bin/run-cursor-system-vm
Troubleshooting
- Cursor won't start: Make sure you have FUSE support enabled
- Permission issues: Check that your user is in the correct groups
- Build fails: Run
nix flake checkto validate the configuration
Next Steps
- Customize your development environment in
home.nix - Add your own packages to the configuration
- Check the full README.md for detailed documentation