#!/bin/bash HOME_MANAGER="$HOME/.config/home-manager" mkdir -p "${HOME_MANAGER}" mkdir -p ~/.config/nix ln -s ~/.dotfiles/nix/.nix-channels ~/.nix-channels ln -s ~/.dotfiles/nix/home-manager/home.nix "${HOME_MANAGER}/home.nix" ln -s ~/.dotfiles/nix/home-manager/flake.nix "${HOME_MANAGER}/flake.nix" ln -s ~/.dotfiles/nix/home-manager/flake.lock "${HOME_MANAGER}/flake.lock"