Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

vaporif/nix-darwin

Open more actions menu

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.