Declarative Nix configuration for macOS and Linux
Top 48.4% on sourcepulse
This repository provides a declarative Nix configuration for managing both macOS and Linux systems, aiming for reproducibility and consistency. It's designed for users who want to manage their development environments, dotfiles, and system configurations across multiple machines using Nix flakes. The primary benefit is a unified, modular, and reproducible setup for personal computing and server infrastructure.
How It Works
The configuration leverages Nix flakes for managing system and user configurations across different hardware architectures (x86_64 Linux, aarch64 macOS). It employs nix-darwin
for macOS and NixOS
for Linux, with home-manager
for user-level dotfiles and application management. A key innovation is the "Devspace" system, a tmux-based persistent development environment that automatically manages project contexts, Git worktrees, and theme integration, ensuring sessions survive reboots and disconnections.
Quick Start & Requirements
darwin-rebuild switch --flake ".#$(hostname -s)"
on macOS or sudo nixos-rebuild switch --flake ".#$(hostname)"
on Linux.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The repository is presented as personal configuration, and its suitability for broader adoption may depend on the user's familiarity with Nix and the specific customizations. The lack of explicit licensing information could be a concern for commercial use.
1 week ago
Inactive