Skip to content

Arinono/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

649 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my dotfiles

Darwin

Install nix

link

sh <(curl -L https://nixos.org/nix/install)
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes >> ~/.config/nix/nix.conf

Clone the repo

git clone https://github.com/arinono/.dotfiles ~/.dotfiles
cd ~/.dotfiles
nix shell nixpkgs#git-crypt
# Copy the key over
git crypt unlock ~/.ssh/git_crypt_dotfiles

Install homebrew

link

# with nix
nix -L run ./nix#installBrew

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

Install the config

# macos
## 1st run
nix run nix-darwin/master#darwin-rebuild -- switch --flake ./nix#<your-hostname>

## later run
darwin-rebuild switch --flake ./nix#<your-hostname>

# nixos
sudo nixos-rebuild switch --flake ~/.dotfiles/nix#<your-hostname>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors