Merge branch 'master' of github.com:ahub2/my-scripts

master
Alex Hubbard 2023-04-18 23:43:02 -05:00
commit deee642f82
5 changed files with 46 additions and 1 deletions

View File

@ -0,0 +1,11 @@
[Match]
Name=enp3s0
[Network]
DHCP=yes
[DHCPv4]
RouteMetric=10
[IPv6AcceptRA]
RouteMetric=10

View File

@ -0,0 +1,11 @@
[Match]
Name=wlan0
[Network]
DHCP=yes
[DHCPv4]
RouteMetric=20
[IPv6AcceptRA]
RouteMetric=20

View File

@ -28,7 +28,7 @@ wireless() {
sudo systemctl enable tlp.service
sudo systemctl enable bluetooth.service
sudo systemctl enable connman.service
#sudo systemctl enable connman.service
sudo systemctl enable iwd.service
echo "Done installing wireless programs."

View File

@ -0,0 +1,12 @@
#!/bin/sh
sudo pacman -S npm cargo
rm -rf ~/.config/nvim/
rm -rf ~/.local/share/nvim/
mkdir ~/.config/nvim
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1
rm -rf ~/.config/nvim/lua/custom/
ln -s ~/.config/nvchad/custom/ ~/.config/nvim/lua/

View File

@ -0,0 +1,11 @@
#!/bin/sh
echo "copying default systemd-networkd config files located in: "
echo " ../files/systemd/network/basic/ to: /etc/systemd/network/"
echo " modify these files if there is no internet connectivity."
echo " see available network devices (Name=*) with: ls /sys/class/net/"
sudo cp ../files/systemd/network/basic/* /etc/systemd/network/
sudo systemctl enable --now systemd-networkd.service
sudo systemctl enable --now systemd-resolved.service