readme 2024 yo
This commit is contained in:
parent
cc333d932b
commit
e419f323d0
33
README.md
33
README.md
@ -1,31 +1,16 @@
|
|||||||
# Nix
|
# Tyrel Dotfiles
|
||||||
|
|
||||||
|
|
||||||
|
## Debian
|
||||||
|
|
||||||
Install Nix and Home-Manager
|
|
||||||
```shell
|
```shell
|
||||||
$ export NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/tyrel/channels/nixpkgs:/nix/var/nix/profiles/per-user/tyrel/channels
|
make install-just
|
||||||
$ nix-channel --add https://nixos.org/channels/nixos-22.11 nixos
|
just debian
|
||||||
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.11.tar.gz home-manager
|
|
||||||
$ nix-channel --update
|
|
||||||
$ nix-shell '<home-manager>' -A install
|
|
||||||
```
|
```
|
||||||
|
|
||||||
For Macos:
|
## Arch
|
||||||
|
|
||||||
Install nix-darwin
|
|
||||||
```shell
|
```shell
|
||||||
$ nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin
|
make install-just
|
||||||
$ nix-channel --update
|
just arch
|
||||||
$ 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 .
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# How To
|
|
||||||
|
|
||||||
Clone the repository, then symlink `ln -s` each file to the dotted version in your homedirectory.
|
|
||||||
|
|
||||||
ex:
|
|
||||||
|
|
||||||
```ln -s dotfiles/shell_funcs ~/.shell_funcs```
|
|
||||||
|
Loading…
Reference in New Issue
Block a user