Skip to content

ArthurBook/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOT DOT DOT

My . . .

nix MacOS Linux Neovim

Install nix:

bash <(curl -L https://nixos.org/nix/install) --daemon # get nix
echo 'experimental-features = nix-command flakes' | sudo tee -a /etc/nix/nix.conf
source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh # activate nix

Setup env:

DOTFILES_LOC=~/projects/dotfiles
git clone git@github.com:ArthurBook/dotfiles.git ${DOTFILES_LOC}
cd ${DOTFILES_LOC}

# Single command setup (includes both system and home configuration)
sudo nix --extra-experimental-features "nix-command flakes" run nix-darwin/nix-darwin-25.05#darwin-rebuild -- switch --flake .

Setup home manager:

nix run github:nix-community/home-manager/release-25.05 -- switch --flake .#macos

After initial setup, use this single command to rebuild everything:

sudo nix run nix-darwin#darwin-rebuild -- switch --flake .

Note: This configures both system-level (nix-darwin) and user-level (home-manager) settings in one command.

About

my . . . dotfiles

Topics

Resources

Stars

Watchers

Forks

Languages