Skip to content

khaykingleb/dotfiles

Repository files navigation

dotfiles

This repository contains my personal configuration for NixOS and macOS systems, managed using Nix Flakes, nix-darwin, and home-manager.

Overview

This setup aims to provide a declarative and reproducible environment across different machines. It includes:

  • System-level configurations (nix-darwin)
  • User-specific configurations (home-manager)
  • Integration with Homebrew (nix-homebrew)

Prerequisites

Ensure Nix is installed with Flakes support enabled. You can use the Determinate Systems Nix Installer for a straightforward installation:

make nix-install

Remember to restart your shell after installation.

Installation & Usage

  1. Clone the repository:

    git clone https://github.com/khaykingleb/dotfiles.git \
        && mkdir -p ~/.config \
        && mv dotfiles ~/.config/dotfiles
  2. Apply the configuration:

    Use the Makefile target corresponding to your system hostname (defined in flake.nix). For instance,

    make nix-darwin-apply-macbook-pro-m4

About

Declarative system configuration and package management for macOS and NixOS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published