mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 23:03:40 +00:00
17 lines
550 B
Markdown
17 lines
550 B
Markdown
# config
|
|
|
|
[](https://builtwithnix.org)
|
|
|
|
This repo stores nix expressions and other configuration.
|
|
|
|
## Setup
|
|
|
|
Clone this as a bare repo to avoid the need for symlinking:
|
|
|
|
```console
|
|
$ git clone --bare git@github.com:davegallant/config.git $HOME/.dotfiles
|
|
$ alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' # add alias to a .bashrc / .zshrc
|
|
$ config config --local status.showUntrackedFiles no
|
|
$ config checkout -f # this will overwrite any existing configs in the home directory
|
|
```
|