NamesCode / .Dotfiles

My dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles

Dotfiles screenshot on macOS

Usage

Linux

Install Nix:

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

Then ¯_(ツ)_/¯

macOS

Install Xcode:

xcode-select --install

Install Brew:

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

Install Nix:

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

Then run:

git clone https://github.com/NamesCode/.Dotfiles.git
cd ./.Dotfiles
echo '{ configs = configs/macos.nix; username = "'$(whoami)'"; }' > machine.nix
git add machine.nix
nix --extra-experimental-features nix-command --extra-experimental-features flakes build .\#darwinConfigurations.NamesM2.system
./result/sw/bin/darwin-rebuild switch --flake .#NamesM2

To build again in future. CD into the directory and run:

git pull
nix build .\#darwinConfigurations.NamesM2.system
./result/sw/bin/darwin-rebuild switch --flake .#NamesM2

Credits

Wonderful people who helped me even get this in Nix:

About

My dotfiles

License:MIT License


Languages

Language:Roff 71.8%Language:Emacs Lisp 16.2%Language:Lua 7.3%Language:Nix 3.6%Language:Shell 1.0%Language:Ruby 0.1%Language:Just 0.0%