Skip to content

vaporif/nix-darwin

Repository files navigation

Nix-darwin + home-manager

This is my personal configuration for nix-darwin with dotfiles and tools.

setup

  1. Clone this repo
  2. Install homebrew
  3. Install nix
  4. Install nix-darwin

Run the initial setup which will build all the derivations which may take a while.

  1. Override /etc/nix-darwin dir with this repo

Update your machine name in flake.nix

darwinConfigurations."MacBook-Pro"

Update username & home path in flake.nix

users.users.vaporif = {
  name = "vaporif";
  home = "/Users/vaporif";
};

Inside home.nix

  home = {
        homeDirectory = "/Users/vaporif";
      username = "vaporif";
  1. Apply config
sudo darwin-rebuild switch
  1. Allow direnv .envrc for default devshell
direnv allow ~

Learning

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published