mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 23:03:40 +00:00
add nix badge
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# config
|
# config
|
||||||
|
|
||||||
|
[](https://builtwithnix.org)
|
||||||
|
|
||||||
This repo stores nix expressions and other configuration.
|
This repo stores nix expressions and other configuration.
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
@@ -8,8 +10,7 @@ Clone this as a bare repo to avoid the need for symlinking:
|
|||||||
|
|
||||||
```console
|
```console
|
||||||
$ git clone --bare git@github.com:davegallant/config.git $HOME/.dotfiles
|
$ 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 or .zshrc
|
$ alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' # add alias to a .bashrc / .zshrc
|
||||||
$ source ~/.zshrc
|
|
||||||
$ config config --local status.showUntrackedFiles no
|
$ config config --local status.showUntrackedFiles no
|
||||||
$ config checkout -f # this will overwrite any existing configs in the home directory
|
$ config checkout -f # this will overwrite any existing configs in the home directory
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user