Prepare for firewall to be setup on first run

This commit is contained in:
David Heinemeier Hansson 2025-08-25 07:28:59 +02:00
parent 28ba0bff7a
commit 661eed2640
5 changed files with 1 additions and 18 deletions

View File

@ -192,8 +192,7 @@ show_install_menu() {
}
show_install_service_menu() {
case $(menu "Install" "󱨑 Firewall\n Dropbox\n Tailscale") in
*Firewall*) present_terminal omarchy-install-firewall ;;
case $(menu "Install" " Dropbox\n Tailscale") in
*Dropbox*) present_terminal omarchy-install-dropbox ;;
*Tailscale*) present_terminal omarchy-install-tailscale ;;
*) show_install_menu ;;

View File

@ -43,7 +43,6 @@ source $OMARCHY_INSTALL/development/development.sh
source $OMARCHY_INSTALL/development/nvim.sh
source $OMARCHY_INSTALL/development/ruby.sh
source $OMARCHY_INSTALL/development/docker.sh
source $OMARCHY_INSTALL/development/firewall.sh
# Desktop
source $OMARCHY_INSTALL/desktop/desktop.sh

View File

@ -1,5 +0,0 @@
#!/bin/bash
if [[ -z "${OMARCHY_CHROOT_INSTALL:-}" ]]; then
omarchy-install-firewall
fi

View File

@ -1,13 +1,5 @@
#!/bin/bash
if ! command -v ufw &>/dev/null; then
sudo pacman -S --noconfirm ufw
fi
if ! command -v ufw-docker &>/dev/null; then
sudo pacman -S --noconfirm ufw-docker
fi
# Allow nothing in, everything out
sudo ufw default deny incoming
sudo ufw default allow outgoing

View File

@ -1,2 +0,0 @@
echo "Enable ufw firewall"
source ~/.local/share/omarchy/install/development/firewall.sh