#!/usr/bin/env bash #### TODO: MOVE TO FLAKE ONLY VERSION OF STUFF #### https://nix-community.github.io/home-manager/index.html#ch-nix-flakes ## Let's get the repo first, in case we didn't before cd git clone https://github.com/cognivore/nix-home.git ## First populate .local/bin which has some spicy stuff for convenience CLI scripts mkdir ~/.local git clone https://github.com/cognivore/local-bin.git ~/.local/nbin ## Then link stuff in ~/.config (assuming you cloned this repo into ~/nix-home) mkdir ~/.config ln -sT "${HOME}/nix-home/nix" ~/.config/nix ln -sT "${HOME}/nix-home/nixpkgs" ~/.config/nixpkgs cat <