Skip to content

Declarative system configuration and package-management for reproducible macOS/NixOS environments

License

Notifications You must be signed in to change notification settings

khaykingleb/dotfiles

Repository files navigation

dotfiles

Personal configuration for macOS systems, managed using Nix Flakes, nix-darwin, and home-manager.

Overview

Declarative and reproducible environment across machines:

  • System-level configurations via nix-darwin
  • User-specific configurations via home-manager
  • Homebrew integration via nix-homebrew

Setup

  1. Install Nix using the Determinate Systems installer:

    just nix-install
  2. Clone the repository:

    git clone https://github.com/khaykingleb/dotfiles.git ~/.config/dotfiles
    cd ~/.config/dotfiles
  3. Apply the configuration for your machine:

    just nix-apply <hostname>

    where <hostname> is one of the systems defined in flake.nix (e.g. macbook-pro-m4).

Usage

just                        # list all available commands
just nix-apply <hostname>   # apply configuration
just nix-update-flake       # update flake inputs
just nix-gc                 # garbage collect unused packages

About

Declarative system configuration and package-management for reproducible macOS/NixOS environments

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published