nixos/bin/symlink-configuration-to-home.sh

9 lines
126 B
Bash
Raw Permalink Normal View History

2023-09-12 18:18:48 +04:00
#!/bin/sh
# run this after login
cp -r /etc/nixos ~/nixos
sudo rm -rf /etc/nixos
sudo ln -sf ~/nixos /etc/nixos
echo 'done'