setup script

This commit is contained in:
Anthony Cicchetti 2023-04-18 19:27:47 -04:00
parent c1b93be410
commit b378d982c0

9
playbooks/nix-setup Executable file
View file

@ -0,0 +1,9 @@
#!/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"