diff --git a/files/sys-environment b/files/sys-environment deleted file mode 100644 index d00b9b4..0000000 --- a/files/sys-environment +++ /dev/null @@ -1,9 +0,0 @@ -# Use Plasma dialogs in GTK apps where possible -GTK_USE_PORTAL=1 - -# Set terminal editor to Nano -EDITOR=nano - -# Force GBM backend -GBM_BACKEND=nvidia-drm -__GLX_VENDOR_LIBRARY_NAME=nvidia \ No newline at end of file diff --git a/files/sys-grub b/files/sys-grub deleted file mode 100644 index 74f1cb0..0000000 --- a/files/sys-grub +++ /dev/null @@ -1,63 +0,0 @@ -# GRUB boot loader configuration - -GRUB_DEFAULT=2 -GRUB_TIMEOUT=5 -GRUB_DISTRIBUTOR="Arch" -GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia-drm.modeset=1 nvidia.NVreg_EnableGpuFirmware=0 mem_sleep_default=deep lsm=landlock,lockdown,yama,integrity,apparmor,bpf" -GRUB_CMDLINE_LINUX="" - -# Preload both GPT and MBR modules so that they are not missed -GRUB_PRELOAD_MODULES="part_gpt part_msdos" - -# Uncomment to enable booting from LUKS encrypted devices -#GRUB_ENABLE_CRYPTODISK=y - -# Set to 'countdown' or 'hidden' to change timeout behavior, -# press ESC key to display menu. -GRUB_TIMEOUT_STYLE=menu - -# Uncomment to use basic console -GRUB_TERMINAL_INPUT=console - -# Uncomment to disable graphical terminal -#GRUB_TERMINAL_OUTPUT=console - -# The resolution used on graphical terminal -# note that you can use only modes which your graphic card supports via VBE -# you can see them in real GRUB with the command `videoinfo' -GRUB_GFXMODE=1920x1080x32,auto - -# Uncomment to allow the kernel use the same resolution used by grub -GRUB_GFXPAYLOAD_LINUX=keep - -# Uncomment if you want GRUB to pass to the Linux kernel the old parameter -# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx" -#GRUB_DISABLE_LINUX_UUID=true - -# Uncomment to disable generation of recovery mode menu entries -GRUB_DISABLE_RECOVERY=true - -# Uncomment and set to the desired menu colors. Used by normal and wallpaper -# modes only. Entries specified as foreground/background. -#GRUB_COLOR_NORMAL="light-blue/black" -#GRUB_COLOR_HIGHLIGHT="light-cyan/blue" - -# Uncomment one of them for the gfx desired, a image background or a gfxtheme -#GRUB_BACKGROUND="/path/to/wallpaper" -#GRUB_THEME="/path/to/gfxtheme" - -# Uncomment to get a beep at GRUB start -#GRUB_INIT_TUNE="480 440 1" - -# Uncomment to make GRUB remember the last selection. This requires -# setting 'GRUB_DEFAULT=saved' above. -#GRUB_SAVEDEFAULT=true - -# Uncomment to disable submenus in boot menu -#GRUB_DISABLE_SUBMENU=y - -# Probing for other operating systems is disabled for security reasons. Read -# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this -# functionality install os-prober and uncomment to detect and include other -# operating systems. -GRUB_DISABLE_OS_PROBER=false diff --git a/files/sys-mkinitcpio.conf b/files/sys-mkinitcpio.conf deleted file mode 100644 index f4e723e..0000000 --- a/files/sys-mkinitcpio.conf +++ /dev/null @@ -1,81 +0,0 @@ -# vim:set ft=sh -# MODULES -# The following modules are loaded before any boot hooks are -# run. Advanced users may wish to specify all system modules -# in this array. For instance: -# MODULES=(usbhid xhci_hcd) -MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm) - -# BINARIES -# This setting includes any additional binaries a given user may -# wish into the CPIO image. This is run last, so it may be used to -# override the actual binaries included by a given hook -# BINARIES are dependency parsed, so you may safely ignore libraries -BINARIES=() - -# FILES -# This setting is similar to BINARIES above, however, files are added -# as-is and are not parsed in any way. This is useful for config files. -FILES=() - -# HOOKS -# This is the most important setting in this file. The HOOKS control the -# modules and scripts added to the image, and what happens at boot time. -# Order is important, and it is recommended that you do not change the -# order in which HOOKS are added. Run 'mkinitcpio -H ' for -# help on a given hook. -# 'base' is _required_ unless you know precisely what you are doing. -# 'udev' is _required_ in order to automatically load modules -# 'filesystems' is _required_ unless you specify your fs modules in MODULES -# Examples: -## This setup specifies all modules in the MODULES setting above. -## No RAID, lvm2, or encrypted root is needed. -# HOOKS=(base) -# -## This setup will autodetect all modules for your system and should -## work as a sane default -# HOOKS=(base udev autodetect modconf block filesystems fsck) -# -## This setup will generate a 'full' image which supports most systems. -## No autodetection is done. -# HOOKS=(base udev modconf block filesystems fsck) -# -## This setup assembles a mdadm array with an encrypted root file system. -## Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices. -# HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck) -# -## This setup loads an lvm2 volume group. -# HOOKS=(base udev modconf block lvm2 filesystems fsck) -# -## This will create a systemd based initramfs which loads an encrypted root filesystem. -# HOOKS=(base systemd autodetect modconf kms keyboard sd-vconsole sd-encrypt block filesystems fsck) -# -## NOTE: If you have /usr on a separate partition, you MUST include the -# usr and fsck hooks. -HOOKS=(base udev autodetect microcode modconf keyboard keymap block filesystems fsck) - -# COMPRESSION -# Use this to compress the initramfs image. By default, zstd compression -# is used for Linux ≥ 5.9 and gzip compression is used for Linux < 5.9. -# Use 'cat' to create an uncompressed image. -#COMPRESSION="zstd" -#COMPRESSION="gzip" -#COMPRESSION="bzip2" -#COMPRESSION="lzma" -#COMPRESSION="xz" -#COMPRESSION="lzop" -#COMPRESSION="lz4" - -# COMPRESSION_OPTIONS -# Additional options for the compressor -#COMPRESSION_OPTIONS=() - -# MODULES_DECOMPRESS -# Decompress loadable kernel modules and their firmware during initramfs -# creation. Switch (yes/no). -# Enable to allow further decreasing image size when using high compression -# (e.g. xz -9e or zstd --long --ultra -22) at the expense of increased RAM usage -# at early boot. -# Note that any compressed files will be placed in the uncompressed early CPIO -# to avoid double compression. -#MODULES_DECOMPRESS="no" \ No newline at end of file diff --git a/files/sys-network.conf b/files/sys-network.conf deleted file mode 100644 index 9de930d..0000000 --- a/files/sys-network.conf +++ /dev/null @@ -1,18 +0,0 @@ -# Do not act as a router -net.ipv4.ip_forward = 0 -net.ipv6.conf.all.forwarding = 0 - -# SYN flood protection -net.ipv4.tcp_syncookies = 1 - -# Disable ICMP redirect -net.ipv4.conf.all.accept_redirects = 0 -net.ipv4.conf.default.accept_redirects = 0 -net.ipv4.conf.all.secure_redirects = 0 -net.ipv4.conf.default.secure_redirects = 0 -net.ipv6.conf.all.accept_redirects = 0 -net.ipv6.conf.default.accept_redirects = 0 - -# Do not send ICMP redirects -net.ipv4.conf.all.send_redirects = 0 -net.ipv4.conf.default.send_redirects = 0 \ No newline at end of file diff --git a/files/user-fonts.conf b/files/user-fonts.conf deleted file mode 100644 index 2656000..0000000 --- a/files/user-fonts.conf +++ /dev/null @@ -1,25 +0,0 @@ - - - - - sans-serif - - Noto Sans - emoji - - - - serif - - Noto Serif - emoji - - - - monospace - - Hack - emoji - - - \ No newline at end of file diff --git a/files/user-kde-package-list.txt b/files/user-kde-package-list.txt deleted file mode 100644 index 2f52800..0000000 --- a/files/user-kde-package-list.txt +++ /dev/null @@ -1,73 +0,0 @@ -ark -appmenu-gtk-module -breeze -breeze-gtk -breeze-plymouth -dolphin -dolphin-plugins -drkonqi -ffmpegthumbs -gwenview -kactivitymanagerd -kate -kde-cli-tools -kde-gtk-config -kdecoration -kdegraphics-thumbnailers -kdeplasma-addons -kgamma -kglobalacceld -kimageformats -kinfocenter -kmenuedit -konsole -kpipewire -kscreen -kscreenlocker -ksshaskpass -ksystemstats -kwallet-pam -kwayland -kwin -kwrited -layer-shell-qt -libappindicator-gtk3 -libkscreen -libksysguard -libpipewire -libplasma -milou -ocean-sound-theme -oxygen -oxygen-sounds -partitionmanager -pipewire-jack -phonon-qt6-vlc -plasma-activities -plasma-activities-stats -plasma-desktop -plasma-disks -plasma-firewall -plasma-integration -plasma-nm -plasma-pa -plasma-sdk -plasma-systemmonitor -plasma-vault -plasma-workspace -plasma5support -plymouth-kcm -polkit-kde-agent -powerdevil -print-manager -qt6-imageformats -qt6-multimedia-ffmpeg -qqc2-breeze-style -sddm -sddm-kcm -spectacle -systemsettings -wacomtablet -xdg-desktop-portal-kde -xdg-desktop-portal-gtk -zimg \ No newline at end of file diff --git a/scripts/0-install.sh b/install.sh similarity index 96% rename from scripts/0-install.sh rename to install.sh index bad2094..6e8e4b1 100644 --- a/scripts/0-install.sh +++ b/install.sh @@ -1,5 +1,15 @@ #!/bin/bash echo "We just need to ask some questions before installing" +read -p "Do you want to format any disks before installing? " formatyesno +case $formatyesno in + [yesYesYy]* ) + cfdisk + ;; + [noNoNn]* ) + echo "Skipping" + ;; + * ) echo "Please answer yes (Yes, y, Y) or no (No, n, N)";; +esac # Get drive values for installation lsblk # Set EFI and root partitions diff --git a/scripts/2-user-config.sh b/scripts/2-user-config.sh deleted file mode 100644 index a9f4f51..0000000 --- a/scripts/2-user-config.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh - -# Run grub-mkconfig again to detect Windows install -#sudo grub-mkconfig -o /boot/grub/grub.cfg -# Configure and enable UFW -# sudo ufw default deny incoming -# sudo ufw default allow outgoing -# sudo ufw limit ssh -# sudo ufw enable -# Update ClamAV -# sudo freshclam -# Enable ClamAV and UFW to run at startup -# sudo systemctl enable clamav-freshclam.service -# sudo systemctl enable clamav-daemon.service -# sudo systemctl enable ufw.service -# Enable SSHD now firewall has been configured -# sudo systemctl enable sshd.service -# Run hBlock -# hblock -# Install the noto fonts library -sudo pacman -S --noconfirm noto-fonts noto-fonts-cjk noto-fonts-emoji -# Install KDE Plasma, SDDM and essential utilities -sudo pacman -S --noconfirm $(cat install/user-kde-package-list.txt) -# Enable SDDM as the display manager -sudo systemctl enable sddm.service -# Create the fontconfig directory and copy the -mkdir -p ~/.config/fontconfig/conf.d -mv install/user-fonts.conf ~/.config/fontconfig/conf.d/60-assign-preferred-fonts.conf -# Install the apparmor.d-git package from the AUR and start the service -# yay -S apparmor.d-git -# sudo systemctl enable apparmor.service -# Prompt the user to reboot -echo "Install complete, please reboot" -# Cleanup: Remove ~/install -rm -rf ~/install \ No newline at end of file