diff --git a/install/config/all.sh b/install/config/all.sh index 06620446..3f6592b5 100644 --- a/install/config/all.sh +++ b/install/config/all.sh @@ -1,14 +1,10 @@ -run_logged $OMARCHY_INSTALL/config/config.sh run_logged $OMARCHY_INSTALL/config/theme.sh run_logged $OMARCHY_INSTALL/config/branding.sh run_logged $OMARCHY_INSTALL/config/git.sh run_logged $OMARCHY_INSTALL/config/gpg.sh -run_logged $OMARCHY_INSTALL/config/timezones.sh -run_logged $OMARCHY_INSTALL/config/increase-sudo-tries.sh run_logged $OMARCHY_INSTALL/config/increase-lockout-limit.sh run_logged $OMARCHY_INSTALL/config/lockscreen-pam.sh run_logged $OMARCHY_INSTALL/config/sleep-lock.sh -run_logged $OMARCHY_INSTALL/config/ssh-flakiness.sh run_logged $OMARCHY_INSTALL/config/increase-file-watchers.sh run_logged $OMARCHY_INSTALL/config/increase-fd-limit.sh run_logged $OMARCHY_INSTALL/config/detect-keyboard-layout.sh @@ -23,7 +19,6 @@ run_logged $OMARCHY_INSTALL/config/nautilus-python.sh run_logged $OMARCHY_INSTALL/config/localdb.sh run_logged $OMARCHY_INSTALL/config/fast-shutdown.sh run_logged $OMARCHY_INSTALL/config/unmount-fuse.sh -run_logged $OMARCHY_INSTALL/config/sudoless-asdcontrol.sh run_logged $OMARCHY_INSTALL/config/input-group.sh run_logged $OMARCHY_INSTALL/config/omarchy-ai-skill.sh run_logged $OMARCHY_INSTALL/config/pi.sh @@ -38,8 +33,6 @@ run_logged $OMARCHY_INSTALL/config/hardware/set-wireless-regdom.sh run_logged $OMARCHY_INSTALL/config/hardware/fix-fkeys.sh run_logged $OMARCHY_INSTALL/config/hardware/bluetooth.sh run_logged $OMARCHY_INSTALL/config/hardware/printer.sh -run_logged $OMARCHY_INSTALL/config/hardware/usb-autosuspend.sh -run_logged $OMARCHY_INSTALL/config/hardware/ignore-power-button.sh run_logged $OMARCHY_INSTALL/config/hardware/nvidia.sh run_logged $OMARCHY_INSTALL/config/hardware/vulkan.sh diff --git a/install/config/config.sh b/install/config/config.sh deleted file mode 100644 index 62f1417b..00000000 --- a/install/config/config.sh +++ /dev/null @@ -1,6 +0,0 @@ -# Copy over Omarchy configs -mkdir -p ~/.config -cp -R ~/.local/share/omarchy/config/* ~/.config/ - -# Use default bashrc from Omarchy -cp ~/.local/share/omarchy/default/bashrc ~/.bashrc diff --git a/install/config/hardware/ignore-power-button.sh b/install/config/hardware/ignore-power-button.sh deleted file mode 100644 index 8e514f69..00000000 --- a/install/config/hardware/ignore-power-button.sh +++ /dev/null @@ -1,2 +0,0 @@ -# Disable shutting system down on power button to bind it to power menu afterwards -sudo sed -i 's/.*HandlePowerKey=.*/HandlePowerKey=ignore/' /etc/systemd/logind.conf diff --git a/install/config/hardware/usb-autosuspend.sh b/install/config/hardware/usb-autosuspend.sh deleted file mode 100644 index 91323846..00000000 --- a/install/config/hardware/usb-autosuspend.sh +++ /dev/null @@ -1,5 +0,0 @@ -# Disable USB autosuspend to prevent peripheral disconnection issues -if [[ ! -f /etc/modprobe.d/disable-usb-autosuspend.conf ]]; then - echo "options usbcore autosuspend=-1" | sudo tee /etc/modprobe.d/disable-usb-autosuspend.conf -fi - diff --git a/install/config/increase-sudo-tries.sh b/install/config/increase-sudo-tries.sh deleted file mode 100644 index 3f812ff9..00000000 --- a/install/config/increase-sudo-tries.sh +++ /dev/null @@ -1,6 +0,0 @@ -# Give the user 10 instead of 3 tries to fat finger their password before lockout -echo "Defaults passwd_tries=10" | sudo tee /etc/sudoers.d/passwd-tries -sudo chmod 440 /etc/sudoers.d/passwd-tries - -# Set for the lock screen too -sudo sed -i 's/^# *deny = .*/deny = 10/' /etc/security/faillock.conf diff --git a/install/config/ssh-flakiness.sh b/install/config/ssh-flakiness.sh deleted file mode 100644 index 906e68aa..00000000 --- a/install/config/ssh-flakiness.sh +++ /dev/null @@ -1,2 +0,0 @@ -# Solve common flakiness with SSH -echo "net.ipv4.tcp_mtu_probing=1" | sudo tee -a /etc/sysctl.d/99-sysctl.conf diff --git a/install/config/sudoless-asdcontrol.sh b/install/config/sudoless-asdcontrol.sh deleted file mode 100644 index 5ae03563..00000000 --- a/install/config/sudoless-asdcontrol.sh +++ /dev/null @@ -1,3 +0,0 @@ -# Setup sudo-less controls for controlling brightness on Apple Displays -echo "$USER ALL=(ALL) NOPASSWD: /usr/bin/asdcontrol" | sudo tee /etc/sudoers.d/asdcontrol -sudo chmod 440 /etc/sudoers.d/asdcontrol diff --git a/install/config/timezones.sh b/install/config/timezones.sh deleted file mode 100644 index 1dbda987..00000000 --- a/install/config/timezones.sh +++ /dev/null @@ -1,5 +0,0 @@ -# Ensure timezone can be updated without a password prompt -sudo tee /etc/sudoers.d/omarchy-tzupdate >/dev/null <