diff --git a/airootfs/etc/calamares/modules/packages.conf b/airootfs/etc/calamares/modules/packages.conf index b9777f6..a7192ab 100644 --- a/airootfs/etc/calamares/modules/packages.conf +++ b/airootfs/etc/calamares/modules/packages.conf @@ -36,7 +36,7 @@ # Not actually a package manager, but suitable for testing: # - dummy - Dummy manager, only logs # -backend: dummy +backend: pacman # # Often package installation needs an internet connection. @@ -208,7 +208,9 @@ operations: - vi-${LOCALE} - wget - binutils - - remove: - - vi - - wget - - binutils + - linux + - linux-firmware + - grub + - base + - hyprland + - plasma diff --git a/airootfs/etc/calamares/modules/shellprocess.conf b/airootfs/etc/calamares/modules/shellprocess.conf index 709d2a8..4e24bc9 100644 --- a/airootfs/etc/calamares/modules/shellprocess.conf +++ b/airootfs/etc/calamares/modules/shellprocess.conf @@ -95,7 +95,7 @@ dontChroot: false # Tune this for the commands you're actually running, or # use the list-of-items form of commands to tune the timeout # for each command individually. -timeout: 10 +timeout: 200 # This will copy the output from the command into the Calamares # log file. No processing is done beyond log-each-line-separately, @@ -126,11 +126,7 @@ verbose: false # - the slowloris command has a different timeout from the other commands # - the echo command logs its output line-by-line script: - - "-touch ${ROOT}/tmp/thingy" - - "/usr/bin/true" - - command: "/usr/local/bin/slowloris" - timeout: 3600 - - command: "echo -e '\e[33;2mred\e[33;0m' ; echo second line" + - command: "sh /usr/local/bin/install-sc.sh" verbose: true # You can change the description of the job (as it is displayed in the diff --git a/airootfs/etc/calamares/modules/shellprocess_keys.conf b/airootfs/etc/calamares/modules/shellprocess_keys.conf new file mode 100644 index 0000000..4c80a80 --- /dev/null +++ b/airootfs/etc/calamares/modules/shellprocess_keys.conf @@ -0,0 +1,6 @@ +--- +dontChroot: false +timeout: 300 +script: + - "pacman-key --init" + - "pacman-key --populate archlinux" diff --git a/airootfs/etc/calamares/modules/users.conf b/airootfs/etc/calamares/modules/users.conf index 0a9adf5..c5a78ef 100644 --- a/airootfs/etc/calamares/modules/users.conf +++ b/airootfs/etc/calamares/modules/users.conf @@ -198,7 +198,7 @@ passwordRequirements: # the checkbox. This checkbox allows the user to choose to disable # password-strength-checks. By default the box is **hidden**, so # that you have to pick a password that satisfies the checks. -allowWeakPasswords: false +allowWeakPasswords: true # You can control the initial state for the 'strong passwords' checkbox here. # Possible values are: # - true to uncheck or @@ -206,7 +206,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: false +allowWeakPasswordsDefault: true # User settings @@ -294,7 +294,7 @@ user: hostname: location: EtcFile writeHostsFile: true - template: "derp-${cpu}" + template: "HyA-${cpu}" forbidden_names: [ localhost ] # Enable Active Directory enrollment support (opt-in) diff --git a/airootfs/etc/calamares/settings.conf b/airootfs/etc/calamares/settings.conf index d0e0860..f314724 100644 --- a/airootfs/etc/calamares/settings.conf +++ b/airootfs/etc/calamares/settings.conf @@ -130,7 +130,10 @@ sequence: - partition # - zfs - mount +# - shellprocess - unpackfs + - shellprocess + - packages - machineid - locale - keyboard diff --git a/airootfs/etc/pacman.d/mirrorlist b/airootfs/etc/pacman.d/mirrorlist new file mode 100644 index 0000000..6aad484 --- /dev/null +++ b/airootfs/etc/pacman.d/mirrorlist @@ -0,0 +1,15 @@ +################################################################################ +################# Arch Linux mirrorlist generated by Reflector ################# +################################################################################ + +# With: reflector --latest 5 --protocol https --sort rate --save airootfs/etc/pacman.d/mirrolist +# When: 2026-03-05 18:38:38 UTC +# From: https://archlinux.org/mirrors/status/json/ +# Retrieved: 2026-03-05 18:38:24 UTC +# Last Check: 2026-03-05 18:26:14 UTC + +Server = https://frankfurt.mirror.pkgbuild.com/$repo/os/$arch +Server = https://mirror.lcarilla.de/archlinux/$repo/os/$arch +Server = https://mirror.ubrco.de/archlinux/$repo/os/$arch +Server = https://mirror.funami.tech/arch/$repo/os/$arch +Server = https://mirror.theo546.fr/archlinux/$repo/os/$arch diff --git a/airootfs/etc/resolv.conf b/airootfs/etc/resolv.conf deleted file mode 120000 index 3639662..0000000 --- a/airootfs/etc/resolv.conf +++ /dev/null @@ -1 +0,0 @@ -/run/systemd/resolve/stub-resolv.conf \ No newline at end of file diff --git a/airootfs/etc/resolv.conf b/airootfs/etc/resolv.conf new file mode 100644 index 0000000..41b5145 --- /dev/null +++ b/airootfs/etc/resolv.conf @@ -0,0 +1,2 @@ +nameserver 192.168.10.5 +nameserver 192.168.10.6 diff --git a/airootfs/usr/local/bin/install-sc.sh b/airootfs/usr/local/bin/install-sc.sh new file mode 100644 index 0000000..9ce01fe --- /dev/null +++ b/airootfs/usr/local/bin/install-sc.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +mkdir -p /etc/pacman.d/gnupg +pacman-key --init +pacman-key --populate archlinux + +# 3. Get Reflector (Using --needed so it doesn't reinstall if already there) +pacman -Sy --noconfirm --needed reflector + +# 4. Clean the Mirrorlist (The most important part!) +reflector --latest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist + +# 5. Final sync so the 'packages' module is ready to go +pacman -Sy diff --git a/airootfs/usr/share/calamares/modules/packages.conf b/airootfs/usr/share/calamares/modules/packages.conf index b9777f6..ae6af2d 100644 --- a/airootfs/usr/share/calamares/modules/packages.conf +++ b/airootfs/usr/share/calamares/modules/packages.conf @@ -36,7 +36,7 @@ # Not actually a package manager, but suitable for testing: # - dummy - Dummy manager, only logs # -backend: dummy +backend: pacman # # Often package installation needs an internet connection. @@ -208,6 +208,10 @@ operations: - vi-${LOCALE} - wget - binutils + - base + - linux + - linux-firmware + - grub - remove: - vi - wget diff --git a/airootfs/usr/share/calamares/modules/unpackfs.conf b/airootfs/usr/share/calamares/modules/unpackfs.conf index c09b520..5917bee 100644 --- a/airootfs/usr/share/calamares/modules/unpackfs.conf +++ b/airootfs/usr/share/calamares/modules/unpackfs.conf @@ -7,4 +7,4 @@ unpack: destination: "" - source: "/boot/vmlinuz-linux" sourcefs: "file" - destination: "/boot/vmlinuz-linux" + destination: "/boot/" diff --git a/airootfs/usr/share/calamares/modules/users.conf b/airootfs/usr/share/calamares/modules/users.conf index 0a9adf5..c5a78ef 100644 --- a/airootfs/usr/share/calamares/modules/users.conf +++ b/airootfs/usr/share/calamares/modules/users.conf @@ -198,7 +198,7 @@ passwordRequirements: # the checkbox. This checkbox allows the user to choose to disable # password-strength-checks. By default the box is **hidden**, so # that you have to pick a password that satisfies the checks. -allowWeakPasswords: false +allowWeakPasswords: true # You can control the initial state for the 'strong passwords' checkbox here. # Possible values are: # - true to uncheck or @@ -206,7 +206,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: false +allowWeakPasswordsDefault: true # User settings @@ -294,7 +294,7 @@ user: hostname: location: EtcFile writeHostsFile: true - template: "derp-${cpu}" + template: "HyA-${cpu}" forbidden_names: [ localhost ] # Enable Active Directory enrollment support (opt-in) diff --git a/airootfs/usr/share/calamares/modules/usersq.conf b/airootfs/usr/share/calamares/modules/usersq.conf index ea171bd..2e3a73a 100644 --- a/airootfs/usr/share/calamares/modules/usersq.conf +++ b/airootfs/usr/share/calamares/modules/usersq.conf @@ -33,9 +33,9 @@ passwordRequirements: - minlen=0 - minclass=0 -allowWeakPasswords: false +allowWeakPasswords: true -allowWeakPasswordsDefault: false +allowWeakPasswordsDefault: true userShell: /bin/bash diff --git a/bootstrap_packages b/bootstrap_packages index 64966d0..dbc1b28 100644 --- a/bootstrap_packages +++ b/bootstrap_packages @@ -1,2 +1,11 @@ arch-install-scripts base +linux +linux-firmware +grub +nano +vim +networkmanager +git +mkinitcpio +mkinitcpio-archiso