summaryrefslogtreecommitdiff
path: root/raveos-calamares-theme/etc/calamares/modules
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-calamares-theme/etc/calamares/modules')
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/bootloader.conf35
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/calamares-microcode-fix.sh22
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/displaymanager.conf3
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/preservefiles.conf2
-rwxr-xr-xraveos-calamares-theme/etc/calamares/modules/raveos-chown-homes.sh29
-rwxr-xr-xraveos-calamares-theme/etc/calamares/modules/raveos-copy-brave-profile.sh1
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/services-systemd.conf4
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/shellprocess-before.conf6
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/shellprocess-branding.conf3
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/shellprocess-enableservices.conf7
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf12
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf2
-rw-r--r--raveos-calamares-theme/etc/calamares/modules/users.conf2
13 files changed, 54 insertions, 74 deletions
diff --git a/raveos-calamares-theme/etc/calamares/modules/bootloader.conf b/raveos-calamares-theme/etc/calamares/modules/bootloader.conf
index 69e54cc..a8bfacb 100644
--- a/raveos-calamares-theme/etc/calamares/modules/bootloader.conf
+++ b/raveos-calamares-theme/etc/calamares/modules/bootloader.conf
@@ -1,33 +1,20 @@
-# Use systemd-boot (UEFI only)
-bootloader: grub
-efiBootLoader: systemd-boot
-efiBootLoaderTimeout: 5
+---
+efiBootLoader: "systemd-boot"
-# Kernel & initramfs
-kernel: linux-cachyos
-initramfs: initramfs-linux-cachyos.img
+kernelSearchPath: "/usr/lib/modules"
+kernelPattern: "^vmlinuz.*"
-# EFI System Partition mount point
-efiMountPoint: /boot
+loaderEntries:
+ - "timeout 5"
+ - "console-mode keep"
+
+kernelParams: [ "quiet" ]
-# GRUB paths
grubInstall: "grub-install"
grubMkconfig: "grub-mkconfig"
grubCfg: "/boot/grub/grub.cfg"
grubProbe: "grub-probe"
efiBootMgr: "efibootmgr"
-# Preserve existing EFI entries (dual-boot safe)
-keepEFI: true
-
-# ---- MICROCODE SUPPORT ----
-microcode: true
-
-# Packages Calamares will look for inside the installed system
-microcodePackages:
- - intel-ucode
- - amd-ucode
-
-loaderEntries:
- - "timeout 5"
- - "console-mode keep"
+installEFIFallback: true
+installHybridGRUB: false
diff --git a/raveos-calamares-theme/etc/calamares/modules/calamares-microcode-fix.sh b/raveos-calamares-theme/etc/calamares/modules/calamares-microcode-fix.sh
index 9915bc6..8d5c26e 100644
--- a/raveos-calamares-theme/etc/calamares/modules/calamares-microcode-fix.sh
+++ b/raveos-calamares-theme/etc/calamares/modules/calamares-microcode-fix.sh
@@ -22,28 +22,6 @@ fi
echo ">>> [microcode-fix] Installing microcode package: ${PKG}"
pacman -Sy --noconfirm "${PKG}" || true
-if [[ "${VENDOR}" == "AuthenticAMD" ]]; then
- echo ">>> [microcode-fix] Installing zenpower5-dkms-git + deps..."
-
- pacman -Syy --noconfirm || true
-
- pacman -S --noconfirm dkms linux-cachyos-headers zenpower5-dkms-git || true
-
- echo ">>> [microcode-fix] Enabling zenpower module autoload..."
- mkdir -p /etc/modules-load.d
- echo "zenpower" > /etc/modules-load.d/zenpower.conf
-
- echo ">>> [microcode-fix] DKMS autoinstall..."
- dkms autoinstall || true
-
- echo ">>> [microcode-fix] Rebuilding initramfs..."
- mkinitcpio -P || true
-
- echo ">>> [microcode-fix] zenpower package check:"
- pacman -Q zenpower5-dkms-git 2>/dev/null && echo ">>> zenpower OK" || echo ">>> zenpower MISSING"
-fi
-
-
if [ ! -f "${UCODE_IMG}" ]; then
echo ">>> [microcode-fix] Missing ${UCODE_IMG}, skipping entry patch."
exit 0
diff --git a/raveos-calamares-theme/etc/calamares/modules/displaymanager.conf b/raveos-calamares-theme/etc/calamares/modules/displaymanager.conf
index 421608c..12ed239 100644
--- a/raveos-calamares-theme/etc/calamares/modules/displaymanager.conf
+++ b/raveos-calamares-theme/etc/calamares/modules/displaymanager.conf
@@ -1,9 +1,6 @@
defaultdisplaymanager: sddm
displaymanagers:
- - name: cosmic-greeter
- service: cosmic-greeter.service
- required: false
- name: gdm
service: gdm.service
required: false
diff --git a/raveos-calamares-theme/etc/calamares/modules/preservefiles.conf b/raveos-calamares-theme/etc/calamares/modules/preservefiles.conf
index 379d2fc..d3ac46f 100644
--- a/raveos-calamares-theme/etc/calamares/modules/preservefiles.conf
+++ b/raveos-calamares-theme/etc/calamares/modules/preservefiles.conf
@@ -55,7 +55,7 @@ files:
perm: root:root:644
- from: config
dest: /var/log/Calamares-install.json
- perm: root:root:644
+ perm: root:root:600
# - src: /var/log/nvidia.conf
# dest: /var/log/Calamares-nvidia.conf
# optional: true
diff --git a/raveos-calamares-theme/etc/calamares/modules/raveos-chown-homes.sh b/raveos-calamares-theme/etc/calamares/modules/raveos-chown-homes.sh
new file mode 100755
index 0000000..f271c05
--- /dev/null
+++ b/raveos-calamares-theme/etc/calamares/modules/raveos-chown-homes.sh
@@ -0,0 +1,29 @@
+#!/bin/bash
+# RaveOS: célrendszer /home könyvtárainak rekurzív chown-ja a céluserhez.
+# A Calamares shellprocess-final (dontChroot: true) hívja, $1 = ${ROOT}.
+set -euo pipefail
+
+ROOT="${1:-}"
+[ -n "$ROOT" ] || { echo "raveos-chown-homes: ROOT hiányzik"; exit 1; }
+
+PASSWD="$ROOT/etc/passwd"
+[ -f "$PASSWD" ] || { echo "raveos-chown-homes: $PASSWD hiányzik"; exit 0; }
+
+while IFS=: read -r user _ uid gid _ home _; do
+ [ -n "$user" ] || continue
+ case "$uid" in
+ ''|*[!0-9]*) continue ;;
+ esac
+ [ "$uid" -ge 1000 ] && [ "$uid" -lt 60000 ] || continue
+ case "$gid" in
+ ''|*[!0-9]*) gid="$uid" ;;
+ esac
+ if [ -z "$home" ] || [ "$home" = "/" ]; then
+ home="/home/$user"
+ fi
+ [ -d "$ROOT$home" ] || continue
+ chown -R "$uid:$gid" "$ROOT$home" 2>/dev/null || true
+ echo "raveos-chown-homes: $home -> $uid:$gid"
+done < "$PASSWD"
+
+exit 0
diff --git a/raveos-calamares-theme/etc/calamares/modules/raveos-copy-brave-profile.sh b/raveos-calamares-theme/etc/calamares/modules/raveos-copy-brave-profile.sh
index 1ca2fba..59a24d6 100755
--- a/raveos-calamares-theme/etc/calamares/modules/raveos-copy-brave-profile.sh
+++ b/raveos-calamares-theme/etc/calamares/modules/raveos-copy-brave-profile.sh
@@ -20,5 +20,6 @@ DEST="/home/$USERNAME/.config/BraveSoftware"
mkdir -p "$ROOT$DEST"
cp -a "$SRC" "$ROOT$DEST/Brave-Origin"
chown -R "$UID_GID" "$ROOT$DEST"
+chown "$UID_GID" "$ROOT/home/$USERNAME/.config" 2>/dev/null || true
echo "raveos-copy-brave-profile: $DEST/Brave-Origin kész"
diff --git a/raveos-calamares-theme/etc/calamares/modules/services-systemd.conf b/raveos-calamares-theme/etc/calamares/modules/services-systemd.conf
index d541f92..71a2249 100644
--- a/raveos-calamares-theme/etc/calamares/modules/services-systemd.conf
+++ b/raveos-calamares-theme/etc/calamares/modules/services-systemd.conf
@@ -3,7 +3,3 @@ services:
enable: true
- name: NetworkManager
enable: true
- - name: gdm
- enable: true
- - name: cosmic-greeter
- enable: true
diff --git a/raveos-calamares-theme/etc/calamares/modules/shellprocess-before.conf b/raveos-calamares-theme/etc/calamares/modules/shellprocess-before.conf
index fdf7949..2bb1194 100644
--- a/raveos-calamares-theme/etc/calamares/modules/shellprocess-before.conf
+++ b/raveos-calamares-theme/etc/calamares/modules/shellprocess-before.conf
@@ -2,11 +2,5 @@ dontChroot: false
timeout: 999
script:
- - "-/usr/bin/pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com"
- - "-/usr/bin/pacman-key --lsign-key 3056513887B78AEB"
- - "-/usr/bin/pacman-key --recv-key 349BC7808577C592 --keyserver keyserver.ubuntu.com"
- - "-/usr/bin/pacman-key --lsign-key 349BC7808577C592"
- - "-/usr/bin/pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst'"
- - "-/usr/bin/pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'"
- "-/usr/bin/pacman -Sy --noconfirm chaotic-keyring"
- "-/usr/bin/pacman -Syu --noconfirm"
diff --git a/raveos-calamares-theme/etc/calamares/modules/shellprocess-branding.conf b/raveos-calamares-theme/etc/calamares/modules/shellprocess-branding.conf
index b514d54..5d0bc87 100644
--- a/raveos-calamares-theme/etc/calamares/modules/shellprocess-branding.conf
+++ b/raveos-calamares-theme/etc/calamares/modules/shellprocess-branding.conf
@@ -8,8 +8,5 @@ script:
- command: "cp /etc/pacman.conf ${ROOT}/etc/pacman.conf"
- command: "cp /etc/pacman.d/chaotic-mirrorlist ${ROOT}/etc/pacman.d/chaotic-mirrorlist"
- command: "cp /etc/pacman.d/raveos-core-mirrorlist ${ROOT}/etc/pacman.d/raveos-core-mirrorlist"
- - command: "/usr/bin/pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com"
- - command: "/usr/bin/pacman-key --lsign-key 3056513887B78AEB"
- name: "Populating Chaotic-AUR keys"
- command: "mkdir -p ${ROOT}/usr/lib/kernel/install.d"
- command: "cp /usr/share/calamares/kernel-install/95-raveos.install ${ROOT}/usr/lib/kernel/install.d/95-raveos.install"
diff --git a/raveos-calamares-theme/etc/calamares/modules/shellprocess-enableservices.conf b/raveos-calamares-theme/etc/calamares/modules/shellprocess-enableservices.conf
index 54f6a52..5d9616d 100644
--- a/raveos-calamares-theme/etc/calamares/modules/shellprocess-enableservices.conf
+++ b/raveos-calamares-theme/etc/calamares/modules/shellprocess-enableservices.conf
@@ -7,15 +7,14 @@ script:
- command: "systemctl enable bluetooth.service || true"
- command: "systemctl enable sddm.service || true"
- command: "systemctl disable gdm.service || true"
- - command: "systemctl enable cosmic-greeter.service || true"
- command: "mkdir -p /etc/NetworkManager/conf.d && printf '[device]\nwifi.backend=iwd\n' > /etc/NetworkManager/conf.d/wifi_backend.conf || true"
- command: "mkdir -p /etc/iwd && printf '[General]\nEnableNetworkConfiguration=false\n' > /etc/iwd/main.conf || true"
- command: "ln -sf /dev/null /etc/systemd/system/wpa_supplicant.service || true"
- command: "if pacman -Q raveos-gnome-theme >/dev/null 2>&1 || pacman -Q raveos-hyprland-theme >/dev/null 2>&1; then :; else pacman -Sdd --noconfirm yaru-gtk-theme || true; fi"
- command: "rm -f /usr/share/wayland-sessions/gnome-classic*.desktop /usr/share/xsessions/gnome-classic*.desktop || true"
- command: "sed -i 's/^#IgnorePkg/IgnorePkg/' /etc/pacman.conf || true"
- - command: "systemctl disable sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service || true"
- - command: "systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service || true"
+ - command: "systemctl unmask sleep.target suspend.target || true"
+ - command: "systemctl disable hibernate.target hybrid-sleep.target geoclue.service || true"
+ - command: "systemctl mask hibernate.target hybrid-sleep.target geoclue.service || true"
- command: "systemctl enable reflector-once.service || true"
- - command: "systemctl enable ananicy-cpp.service || true"
name: "Enabling services and Display Managers"
diff --git a/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf b/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf
index c1892aa..14cc003 100644
--- a/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf
+++ b/raveos-calamares-theme/etc/calamares/modules/shellprocess-final.conf
@@ -23,12 +23,14 @@ script:
- "if [ -x ${ROOT}/usr/lib/raveos-cosmic-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-cosmic-theme/auto-apply.sh; fi"
- "if [ -x ${ROOT}/usr/lib/raveos-plasma-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-plasma-theme/auto-apply.sh; fi"
- "if [ -x ${ROOT}/usr/lib/raveos-hyprland-theme/auto-apply.sh ]; then arch-chroot ${ROOT} /usr/lib/raveos-hyprland-theme/auto-apply.sh; fi"
- - "arch-chroot ${ROOT} /bin/bash -c 'for u in $(awk -F: \"\\$3>=1000 && \\$3<60000 {print \\$1}\" /etc/passwd); do chown -R \"$u:$u\" \"/home/$u\" 2>/dev/null || true; done'"
+ - "bash /etc/calamares/modules/raveos-chown-homes.sh ${ROOT}"
- "arch-chroot ${ROOT} /bin/bash -c 'pacman -Qi plasma-bigscreen &>/dev/null && pacman -Rcns --noconfirm plasma-bigscreen || true'"
- - "arch-chroot ${ROOT} sed -i '/^HOOKS=/ s/udev /udev plymouth /' /etc/mkinitcpio.conf"
+ - "arch-chroot ${ROOT} sed -i 's|^HOOKS=.*|HOOKS=(base udev plymouth autodetect microcode kms keyboard keymap consolefont block filesystems fsck)|' /etc/mkinitcpio.conf"
+ - "arch-chroot ${ROOT} sed -i -e '/^#COMPRESSION=/d' -e '/^COMPRESSION=/d' -e '/^#COMPRESSION_OPTIONS=/d' -e '/^COMPRESSION_OPTIONS=/d' /etc/mkinitcpio.conf"
+ - "printf 'COMPRESSION=zstd\\nCOMPRESSION_OPTIONS=(-19 -T0)\\n' >> ${ROOT}/etc/mkinitcpio.conf"
- "arch-chroot ${ROOT} mkinitcpio -P"
- "install -Dm644 /etc/systemd/system/reflector-once.service ${ROOT}/etc/systemd/system/reflector-once.service"
- "chroot ${ROOT} systemctl enable reflector-once.service"
- - "gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-olive-dark'"
- - "gsettings set org.gnome.desktop.interface icon-theme 'Adwaitaru-olive'"
- - "sh -c 'echo \"MESA_SHADER_CACHE_MAX_SIZE=12G\" >> ${ROOT}/etc/environment; echo \"__GL_SHADER_DISK_CACHE_SIZE=12884901888\" >> ${ROOT}/etc/environment'" \ No newline at end of file
+ - "arch-chroot ${ROOT} sed -i 's/^ENABLED=no/ENABLED=yes/' /etc/ufw/ufw.conf || true"
+ - "arch-chroot ${ROOT} systemctl enable ufw.service || true"
+ - "printf 'MESA_SHADER_CACHE_MAX_SIZE=12G\\n__GL_SHADER_DISK_CACHE_SIZE=12884901888\\n' >> ${ROOT}/etc/environment" \ No newline at end of file
diff --git a/raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf b/raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf
index 7b5c659..eae9c9f 100644
--- a/raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf
+++ b/raveos-calamares-theme/etc/calamares/modules/shellprocess-pacstrap.conf
@@ -4,5 +4,5 @@ timeout: 3600
script:
- command: "/usr/bin/pacman-key --init && /usr/bin/pacman-key --populate"
name: "Initializing package signing keys..."
- - command: "pacstrap ${ROOT} base base-devel btrfs-progs raveos-keyring linux-cachyos linux-cachyos-headers linux-firmware networkmanager iwd broadcom-wl-dkms wireless-regdb nano vim grub grub-btrfs rsync efibootmgr bash-completion dkms lsb-release mkinitcpio-openswap"
+ - command: "pacstrap ${ROOT} base base-devel btrfs-progs raveos-keyring chaotic-keyring chaotic-mirrorlist linux-cachyos linux-cachyos-headers linux-firmware networkmanager iwd broadcom-wl-dkms wireless-regdb nano vim grub grub-btrfs rsync efibootmgr bash-completion dkms lsb-release mkinitcpio-openswap"
name: "Bootstrapping Arch Linux (Netinstall)..."
diff --git a/raveos-calamares-theme/etc/calamares/modules/users.conf b/raveos-calamares-theme/etc/calamares/modules/users.conf
index 04282b2..5ec73a6 100644
--- a/raveos-calamares-theme/etc/calamares/modules/users.conf
+++ b/raveos-calamares-theme/etc/calamares/modules/users.conf
@@ -139,7 +139,7 @@ allowWeakPasswords: false
# the checkbox by default. Since the box is labeled to enforce strong
# passwords, in order to **allow** weak ones by default, the box needs
# to be unchecked.
-allowWeakPasswordsDefault: true
+allowWeakPasswordsDefault: false
# User settings
#