Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abiosoft/dotfiles
dotfiles. zsh, neovim, tmux, i3 e.t.c.
https://github.com/abiosoft/dotfiles
dotfiles i3 neovim tmux zsh
Last synced: 2 months ago
JSON representation
dotfiles. zsh, neovim, tmux, i3 e.t.c.
- Host: GitHub
- URL: https://github.com/abiosoft/dotfiles
- Owner: abiosoft
- License: mit
- Created: 2017-02-12T11:28:47.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-12T17:29:31.000Z (5 months ago)
- Last Synced: 2024-10-14T09:31:34.764Z (2 months ago)
- Topics: dotfiles, i3, neovim, tmux, zsh
- Language: Vim Script
- Homepage:
- Size: 14.6 MB
- Stars: 34
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
dotfiles
========Dotfiles managed with Stow for Nix or Brew
![Screenshot](screenshots/screenshot.png)
## Nix
### Prerequisite
Install Nix.
```sh
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
```### Installation
`cd` into repository and setup dotfiles
```
nix run nixpkgs#stow bat bin git ideavim neovim nix tmux zsh
```Pin the current nixpkgs version to avoid repetitive registry downloads
```
nix registry pin nixpkgs# to update the pinned nix version later on
# nix flake update --flake path:$HOME/dotfiles/nix/.config/nix/
```Install packages.
```
nix profile install path:$HOME/dotfiles/nix/.config/nix/
```### Declarative Nix packages
```sh
# create a copy of sample packages file
cp ~/.config/nix/packages.sample.nix ~/.config/nix/packages.nix# edit packages file to add extra packages
vim ~/.config/nix/packages.nix# run the `nix-switch` alias
nix-switch
```## Brew
### Prerequisite
Homebrew
```sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```### Installation
Install Stow
```
brew install stow
```Setup dotfiles
```
stow bat brew bin git ideavim neovim tmux zsh
```Install packages
```
brew bundle -v --file ~/.config/brew/Brewfile
```### Declarative Brew packages
```sh
# create a copy of the sample packages file
cp ~/.config/brew/packages.sample.rb ~/.config/brew/packages.rb# edit packages file to add extra packages
vim ~/.config/brew/packages.rb# run the `brew-switch` alias
brew-switch
```