Go to file
Tyrel Souza 49a5240079
updates
2023-01-17 18:39:14 -05:00
home updates 2023-01-17 18:39:14 -05:00
hosts updates 2023-01-17 18:39:14 -05:00
.gitignore homefiles 2023-01-01 20:08:14 -05:00
Makefile adding my first debian box 2023-01-17 18:19:04 -05:00
README.md Readme 2023-01-02 12:25:02 -05:00
justfile more justifle 2023-01-17 18:34:52 -05:00
rebuild-macos.sh gpgkey and fix macos 2023-01-03 01:53:17 -05:00
rebuild-ubuntu.sh split by hostname 2023-01-03 00:32:32 -05:00

README.md

Nix

Install Nix and Home-Manager

$ export NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/tyrel/channels/nixpkgs:/nix/var/nix/profiles/per-user/tyrel/channels
$ nix-channel --add https://nixos.org/channels/nixos-22.11 nixos
$ 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:

Install nix-darwin

$ nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin 
$ nix-channel --update
$ 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