Nix? #5

Merged
anthonycicc merged 2 commits from nix into master 2023-04-18 19:28:22 -04:00
Showing only changes of commit b378d982c0 - Show all commits

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"