dotfiles/playbooks/nix-setup
Anthony Cicchetti 5c59a6de89 Nix? (#5)
Here goes...

Reviewed-on: #5
2023-04-18 19:28:22 -04:00

9 lines
376 B
Bash
Executable file

#!/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"