From d5998fb3de3a70cd1c88c99207877fc7759b967c Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 18 Apr 2023 23:01:01 -0500 Subject: [PATCH 1/3] add nvchad.sh install --- installers/arch/scripts/nvchad.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 installers/arch/scripts/nvchad.sh diff --git a/installers/arch/scripts/nvchad.sh b/installers/arch/scripts/nvchad.sh new file mode 100644 index 0000000..ee0277a --- /dev/null +++ b/installers/arch/scripts/nvchad.sh @@ -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/ From b7d9b47c3da6c5342b77e8bd37b3a8ed481f8320 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 18 Apr 2023 23:19:12 -0500 Subject: [PATCH 2/3] add systemd-networkd config script to repo --- .../arch/files/systemd/network/basic/20-wired.network | 11 +++++++++++ .../files/systemd/network/basic/20-wireless.network | 11 +++++++++++ installers/arch/scripts/systemd-networkd.sh | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 installers/arch/files/systemd/network/basic/20-wired.network create mode 100644 installers/arch/files/systemd/network/basic/20-wireless.network create mode 100644 installers/arch/scripts/systemd-networkd.sh diff --git a/installers/arch/files/systemd/network/basic/20-wired.network b/installers/arch/files/systemd/network/basic/20-wired.network new file mode 100644 index 0000000..4cfdb17 --- /dev/null +++ b/installers/arch/files/systemd/network/basic/20-wired.network @@ -0,0 +1,11 @@ +[Match] +Name=enp3s0 + +[Network] +DHCP=yes + +[DHCPv4] +RouteMetric=10 + +[IPv6AcceptRA] +RouteMetric=10 diff --git a/installers/arch/files/systemd/network/basic/20-wireless.network b/installers/arch/files/systemd/network/basic/20-wireless.network new file mode 100644 index 0000000..e24cee0 --- /dev/null +++ b/installers/arch/files/systemd/network/basic/20-wireless.network @@ -0,0 +1,11 @@ +[Match] +Name=wlan0 + +[Network] +DHCP=yes + +[DHCPv4] +RouteMetric=20 + +[IPv6AcceptRA] +RouteMetric=20 diff --git a/installers/arch/scripts/systemd-networkd.sh b/installers/arch/scripts/systemd-networkd.sh new file mode 100644 index 0000000..b8acdff --- /dev/null +++ b/installers/arch/scripts/systemd-networkd.sh @@ -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 From 8e352fcc803e2af90b71417ce86d9ca21d5e1be5 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 18 Apr 2023 23:27:18 -0500 Subject: [PATCH 3/3] remove connman config from arch install.sh --- installers/arch/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/arch/install.sh b/installers/arch/install.sh index 0cc29ec..54706ac 100755 --- a/installers/arch/install.sh +++ b/installers/arch/install.sh @@ -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."