diff --git a/bin/omarchy-install-nordvpn b/bin/omarchy-install-nordvpn new file mode 100755 index 00000000..5811af74 --- /dev/null +++ b/bin/omarchy-install-nordvpn @@ -0,0 +1,17 @@ +#!/bin/bash + +# Install the NordVPN service with optional GUI. + +echo "Installing NordVPN..." +omarchy-pkg-aur-add nordvpn-bin + +echo "Enabling NordVPN daemon..." +sudo systemctl enable --now nordvpnd + +echo "Adding user to nordvpn group..." +sudo usermod -aG nordvpn "$USER" + +echo -e "\nNordVPN installed! After reboot, run 'nordvpn login' to authenticate." + +echo +gum confirm "Reboot now to make NordVPN usable?" && sudo reboot now diff --git a/bin/omarchy-menu b/bin/omarchy-menu index f783caa5..83db1e5c 100755 --- a/bin/omarchy-menu +++ b/bin/omarchy-menu @@ -303,9 +303,10 @@ show_install_menu() { } show_install_service_menu() { - case $(menu "Install" " Dropbox\n Tailscale\n󰟵 Bitwarden\n Chromium Account") in + case $(menu "Install" " Dropbox\n Tailscale\n󱇱 NordVPN\n󰟵 Bitwarden\n Chromium Account") in *Dropbox*) present_terminal omarchy-install-dropbox ;; *Tailscale*) present_terminal omarchy-install-tailscale ;; + *NordVPN*) present_terminal omarchy-install-nordvpn ;; *Bitwarden*) install_and_launch "Bitwarden" "bitwarden bitwarden-cli" "bitwarden" ;; *Chromium*) present_terminal omarchy-install-chromium-google-account ;; *) show_install_menu ;; diff --git a/default/bash/functions b/default/bash/functions index ec144b8e..c898804e 100644 --- a/default/bash/functions +++ b/default/bash/functions @@ -49,6 +49,7 @@ format-drive() { sudo dd if=/dev/zero of="$1" bs=1M count=100 status=progress sudo parted -s "$1" mklabel gpt sudo parted -s "$1" mkpart primary 1MiB 100% + sudo parted -s "$1" set 1 msftdata on partition="$([[ $1 == *"nvme"* ]] && echo "${1}p1" || echo "${1}1")" sudo partprobe "$1" || true diff --git a/default/hypr/bindings/utilities.conf b/default/hypr/bindings/utilities.conf index f9128e08..1c88e25a 100644 --- a/default/hypr/bindings/utilities.conf +++ b/default/hypr/bindings/utilities.conf @@ -58,8 +58,7 @@ bindd = SUPER CTRL, W, Wifi controls, exec, omarchy-launch-wifi bindd = SUPER CTRL, T, Activity, exec, omarchy-launch-tui btop # Dictation -bindd = SUPER CTRL, X, Start dictation, exec, voxtype record start -binddr = SUPER CTRL, X, Stop dictation, exec, voxtype record stop +bindd = SUPER CTRL, X, Toggle dictation, exec, voxtype record toggle # Zoom bindd = SUPER CTRL, Z, Zoom in, exec, hyprctl keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '.float + 1') diff --git a/install/config/all.sh b/install/config/all.sh index 18af4256..875ba45d 100644 --- a/install/config/all.sh +++ b/install/config/all.sh @@ -20,6 +20,7 @@ run_logged $OMARCHY_INSTALL/config/fast-shutdown.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/kernel-modules-hook.sh run_logged $OMARCHY_INSTALL/config/powerprofilesctl-rules.sh run_logged $OMARCHY_INSTALL/config/wifi-powersave-rules.sh run_logged $OMARCHY_INSTALL/config/hibernation.sh diff --git a/install/config/kernel-modules-hook.sh b/install/config/kernel-modules-hook.sh new file mode 100644 index 00000000..29d0ec4d --- /dev/null +++ b/install/config/kernel-modules-hook.sh @@ -0,0 +1 @@ +chrootable_systemctl_enable linux-modules-cleanup.service diff --git a/install/config/localdb.sh b/install/config/localdb.sh index 73721488..027128fb 100644 --- a/install/config/localdb.sh +++ b/install/config/localdb.sh @@ -1,2 +1,3 @@ -# Update localdb so that locate will find everything installed +# Ensure /home is indexed on Btrfs (subvolumes look like bind mounts) +sudo sed -i 's/PRUNE_BIND_MOUNTS.*=.*/PRUNE_BIND_MOUNTS = "no"/' /etc/updatedb.conf sudo updatedb diff --git a/install/omarchy-base.packages b/install/omarchy-base.packages index 5c5adda9..2b7954ca 100644 --- a/install/omarchy-base.packages +++ b/install/omarchy-base.packages @@ -63,6 +63,7 @@ inxi iwd jq kdenlive +kernel-modules-hook kvantum-qt5 lazydocker lazygit diff --git a/migrations/1768236764.sh b/migrations/1768236764.sh new file mode 100644 index 00000000..38e02bd6 --- /dev/null +++ b/migrations/1768236764.sh @@ -0,0 +1,4 @@ +echo "Prevent kernel upgrades from making current modules unavailable" + +omarchy-pkg-add kernel-modules-hook +sudo systemctl enable --now linux-modules-cleanup.service diff --git a/migrations/1771622309 b/migrations/1771622309 new file mode 100644 index 00000000..7573323a --- /dev/null +++ b/migrations/1771622309 @@ -0,0 +1,3 @@ +echo "Fix locate not indexing home on Btrfs" +sudo sed -i 's/PRUNE_BIND_MOUNTS.*=.*/PRUNE_BIND_MOUNTS = "no"/' /etc/updatedb.conf +sudo updatedb