aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/create-archiso-zfs.sh33
-rw-r--r--scripts/protonmail-bridge.sh17
-rwxr-xr-xscripts/testing/lib/finalize-base-vm.sh21
-rw-r--r--scripts/wip-bootcandy.sh17
-rwxr-xr-xscripts/wireguard-proton.sh13
5 files changed, 0 insertions, 101 deletions
diff --git a/scripts/create-archiso-zfs.sh b/scripts/create-archiso-zfs.sh
deleted file mode 100644
index 3028468..0000000
--- a/scripts/create-archiso-zfs.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env bash
-#
-# create-archiso-zfs.sh
-# Craig Jennings <c@cjennings.net>
-# Creates an arch linux iso with zfs support.
-# This script must be run as root.
-
-pacman-key -r DDF7DB817396A49B2A2723F7403BD972F75D9D76
-pacman-key --lsign-key DDF7DB817396A49B2A2723F7403BD972F75D9D76
-
-pacman -Syu --noconfirm archiso
-mkdir ~/iso
-
-# copies the releng profile
-cp -r /usr/share/archiso/configs/releng/* ~/iso
-
-# add the archzfs repository to the pacman configuration
-echo -e '
-[archzfs]
-Server = https://archzfs.com/$repo/$arch
-SigLevel = Optional TrustAll' >> ~/iso/pacman.conf
-
-# tell archiso to install the zfs dkms module and zfs utils to resulting iso
-echo -e '
-linux-headers
-archzfs-dkms
-zfs-utils' >> ~/iso/packages.x86_64
-
-# build the iso. this takes some time
-mkarchiso -vo ~/iso/out ~/iso
-
-
-
diff --git a/scripts/protonmail-bridge.sh b/scripts/protonmail-bridge.sh
deleted file mode 100644
index 7dd8ad6..0000000
--- a/scripts/protonmail-bridge.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-# build proton bridge
-mkdir $HOME/protonbridgebuild && cd $HOME/protonbridgebuild
-wget https://proton.me/download/bridge/PKGBUILD
-makepkg -s --install
-
-# init pass with a passphrase-free GPG key
-gpg --batch --passphrase '' --quick-gen-key 'ProtonMailBridge' default default never
-pass init "ProtonMailBridge"
-
-# launch protonmail-bridge
-cd $HOME
-protonmail-bridge &
-
-# cleanup
-rm -rf $HOME/protonbridgebuild
diff --git a/scripts/testing/lib/finalize-base-vm.sh b/scripts/testing/lib/finalize-base-vm.sh
deleted file mode 100755
index e3913ea..0000000
--- a/scripts/testing/lib/finalize-base-vm.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-# Finalize base VM after installation
-VM_NAME="archsetup-base"
-echo "[i] Removing ISO from VM..."
-virsh change-media $VM_NAME sda --eject 2>/dev/null || true
-virsh change-media $VM_NAME hda --eject 2>/dev/null || true
-echo "[✓] ISO removed"
-echo "[i] Starting VM from installed system..."
-virsh start $VM_NAME
-echo "[i] Waiting for boot..."
-sleep 30
-IP=$(virsh domifaddr $VM_NAME 2>/dev/null | grep -oP '(\d+\.){3}\d+' | head -1)
-echo "[✓] Base VM is ready!"
-echo ""
-echo "Connect via:"
-echo " Console: virsh console $VM_NAME"
-echo " SSH: ssh root@$IP"
-echo " Password: archsetup"
-echo ""
-echo "To create a test clone:"
-echo " ./scripts/testing/run-test.sh"
diff --git a/scripts/wip-bootcandy.sh b/scripts/wip-bootcandy.sh
deleted file mode 100644
index 998cb2d..0000000
--- a/scripts/wip-bootcandy.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env bash
-# Craig Jennings <c@cjennings.net>
-# installs boot animation and a graphical login manager
-
-#
-# Boot Manager
-#
-
-
-sudo pacman -S --noconfirm ly
-
-sudo systemctl enable ly.service
-
-# If you need to switch between ttys after Ly's start you also have to
-# disable getty on Ly's tty to prevent "login" from spawning on top.
-
-sudo systemctl disable getty@tty2.service
diff --git a/scripts/wireguard-proton.sh b/scripts/wireguard-proton.sh
deleted file mode 100755
index afafd0e..0000000
--- a/scripts/wireguard-proton.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-# https://account.protonvpn.com/downloads
-
-sudo pacman -S --noconfirm wireguard-tools systemd-resolved
-
-# copy all Proton Wireguard config files
-sudo cp ../assets/wireguard-config/*.conf /etc/wireguard/
-
-sudo systemctl enable systemd-resolved
-sudo systemctl start systemd-resolved
-
-sudo wg-quick up USGA
-sudo wg