added setup.sh

This commit is contained in:
batvin321 2024-06-02 23:12:48 -04:00
parent a279371e56
commit ca4cb2b7fd

15
setup.sh Normal file
View File

@ -0,0 +1,15 @@
sudo mv /etc/nixos/configuration.nix /etc/nixos/configuration.nix.old
sudo sudo cp configuration.nix /etc/nixos/configuration.nix
sudo nix-prefetch-url --name displaylink-580.zip https://www.synaptics.com/sites/default/files/exe_files/2023-08/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu5.8-EXE.zip
sudo nixos-rebuild switch --upgrade
sudo nix-collect-garbage -d
sudo freshclam
sudo tailscale up --accept-routes
echo "REBOOT YOUR COMPUTER"