mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 10:33:39 +00:00
move home-manager nix from ~/.config/nixpkgs to ~/nix
This commit is contained in:
10
README.md
10
README.md
@@ -6,6 +6,8 @@ This repo stores nix expressions and other configuration.
|
||||
|
||||
## Setup
|
||||
|
||||
## git
|
||||
|
||||
Clone this as a bare repo to avoid the need for symlinking:
|
||||
|
||||
```console
|
||||
@@ -14,3 +16,11 @@ $ alias config='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' # add alias to
|
||||
$ config config --local status.showUntrackedFiles no
|
||||
$ config checkout -f # this will overwrite any existing configs in the home directory
|
||||
```
|
||||
|
||||
## home manager
|
||||
|
||||
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
|
||||
```
|
||||
|
Reference in New Issue
Block a user