Merge branch 'master' of github.com:ahub2/my-scripts
commit
deee642f82
|
@ -0,0 +1,11 @@
|
|||
[Match]
|
||||
Name=enp3s0
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
|
||||
[DHCPv4]
|
||||
RouteMetric=10
|
||||
|
||||
[IPv6AcceptRA]
|
||||
RouteMetric=10
|
|
@ -0,0 +1,11 @@
|
|||
[Match]
|
||||
Name=wlan0
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
|
||||
[DHCPv4]
|
||||
RouteMetric=20
|
||||
|
||||
[IPv6AcceptRA]
|
||||
RouteMetric=20
|
|
@ -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."
|
||||
|
|
|
@ -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/
|
|
@ -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
|
Loading…
Reference in New Issue