dotfiles/README.md

28 lines
640 B
Markdown
Raw Normal View History

2023-01-02 03:32:38 +00:00
# Nix
Install Nix and Home-Manager
2023-01-02 05:11:03 +00:00
```shell
$ nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.11.tar.gz home-manager
$ nix-channel --update
```
2023-01-02 03:32:38 +00:00
For Macos:
Install nix-darwin
```shell
$ nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
$ ./result/bin/darwin-installer
$ ./result/sw/bin/darwin-rebuild switch --flake .
```
2015-09-15 17:12:05 +00:00
# How To
Clone the repository, then symlink `ln -s` each file to the dotted version in your homedirectory.
2015-09-15 17:12:05 +00:00
ex:
2022-10-05 04:49:37 +00:00
```ln -s dotfiles/shell_funcs ~/.shell_funcs```