Skip to content
/ dotfiles Public

macOS + nix + nix-darwin + home-manager + homebrew

Notifications You must be signed in to change notification settings

gesi/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Install nix
sh <(curl -L https://nixos.org/nix/install)

# install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

nix-shell -p git
git clone https://github.com/gesi/dotfiles.git
cd dotfiles

HOST=''

# --extra-experimental-features only needed for the first run
# may need to remove/backup some config files (/etc/shells, fish.config, vscode settings, etc)
nix build ~/dotfiles\#darwinConfigurations.$HOST.system \
    --extra-experimental-features nix-command \
    --extra-experimental-features flakes


./result/sw/bin/darwin-rebuild switch --flake ~/dotfiles#$HOST

# install latest nodejs
volta install node

About

macOS + nix + nix-darwin + home-manager + homebrew

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published