mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 10:33:39 +00:00
nixfmt *.nix
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# config
|
||||
# nix-config
|
||||
|
||||
[](https://builtwithnix.org)
|
||||
|
||||
This repo stores nix expressions and other configuration.
|
||||
This repo stores nix expressions to manage my machines.
|
||||
|
||||
## Setup
|
||||
|
||||
@@ -11,7 +11,7 @@ This repo stores nix expressions and other configuration.
|
||||
Clone this as a bare repo to avoid the need for symlinking:
|
||||
|
||||
```console
|
||||
$ git clone --bare git@github.com:davegallant/config.git $HOME/.dotfiles
|
||||
$ git clone --bare git@github.com:davegallant/nix-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
|
||||
@@ -22,5 +22,5 @@ $ config checkout -f # this will overwrite any existing configs in the home dire
|
||||
Install [nix](https://nixos.org/guides/install-nix.html) and [home-manager](https://github.com/nix-community/home-manager).
|
||||
|
||||
```console
|
||||
$ home-manager -f ~/nix/home.nix switch
|
||||
$ home-manager -f ~/nix/home.nix switch
|
||||
```
|
||||
|
Reference in New Issue
Block a user