Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/namescode/.dotfiles

My dotfiles
https://github.com/namescode/.dotfiles

betterdiscord brew discord dotfiles emacs firefox librewolf macos namescode nix nix-flake sketchybar skhdrc spicetify vterm wallpapers yabairc

Last synced: 14 days ago
JSON representation

My dotfiles

Awesome Lists containing this project

README

        

# Dotfiles

![Dotfiles screenshot on macOS](RiceScreenshot.png)

## Usage

### Linux

Install Nix:

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

Then ¯\_(ツ)\_/¯

### macOS

Install Xcode:

```bash
xcode-select --install
```

Install Brew:

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

Install Nix:

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

Then run:

```bash
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:

```bash
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:

- [Winston](https://github.com/nekowinston)
- [Pigeon](https://github.com/backwardspy)
- [NyxKrage](https://github.com/nyxkrage)