Home Manager Nix Configuration

Home Manager Nix Configuration

github.com

2

About this website

Home Manager is a free and open-source tool for managing user-specific configurations on Nix-based systems (NixOS or standalone Nix package manager on macOS, Linux, and WSL). Developed by Robert Helgesson (rycee) since 2017, Home Manager brings the reproducibility, declarativeness, and rollback capabilities of Nix to user-level dotfiles, application configurations, and service management. Key features: declarative configuration: all user configuration (dotfiles, shell settings, Git config, editor configs, package installations) is defined in a single Nix expression file (home.nix). Changes are applied by rebuilding the home environment, producing an atomic update with automatic rollback on failure. Module system: Home Manager provides a rich module system with pre-built configuration modules for over 1,000 programs and services, including Git, tmux, Zsh, Bash, Fish, Neovim, Emacs, SSH, GnuPG, Starship prompt, Alacritty, Kitty, Firefox, and many more. Each module exposes typed options with documentation, so users configure programs via Nix attributes instead of editing individual config files. Service management: manages user-level systemd services (services like Syncthing, Emacs daemon, terminal multiplexers) with proper dependency ordering and restart-on-change behavior. User packages: install packages into the user profile without root access, managed declaratively. Dotfile migration: can import existing dotfiles and convert them to Nix modules. Generation management: each configuration rebuild creates a new generation, allowing instant rollback to any previous configuration. Standalone or NixOS integration: works standalone on any Linux/macOS with Nix installed, or integrated into NixOS system configuration. Cross-platform: Linux, macOS, WSL. GPLv3 and MIT (modules vary).

Tags & Categories

Tags

Statistics

2
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!