mirror of
https://codeberg.org/metamuffin/abrechenbarkeit-sd.git
synced 2024-12-22 06:34:35 +00:00
Fix wifi
This commit is contained in:
parent
106f48af3f
commit
ed11bcff2d
7 changed files with 9 additions and 4 deletions
5
airootfs/etc/systemd/network/20-rename-wlan.link
Normal file
5
airootfs/etc/systemd/network/20-rename-wlan.link
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[Match]
|
||||||
|
Type=wlan
|
||||||
|
|
||||||
|
[Link]
|
||||||
|
Name=wfi0
|
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Generate wpa_supplicant config from EFI variables
|
Description=Generate wpa_supplicant config from EFI variables
|
||||||
Before=wpa_supplicant.service
|
Before=wpa_supplicant@.service
|
||||||
ConditionPathExists=/sys/firmware/efi/efivars/WlanSSID-97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38
|
ConditionPathExists=/sys/firmware/efi/efivars/WlanSSID-97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
/usr/lib/systemd/system/wpa_supplicant.service
|
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/lib/systemd/system/wpa_supplicant@.service
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
set ssid (cat /sys/firmware/efi/efivars/WlanSSID-97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38 | tail -c +5)
|
set ssid (cat /sys/firmware/efi/efivars/WlanSSID-97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38 | tail -c +5)
|
||||||
set psk (cat /sys/firmware/efi/efivars/WlanPSK-97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38 | tail -c +5)
|
set psk (cat /sys/firmware/efi/efivars/WlanPSK-97b6e7a4-b8a6-4d85-b7c4-0030bb5f2d38 | tail -c +5)
|
||||||
wpa_passphrase $ssid $psk > /etc/wpa_supplicant/wpa_supplicant.conf
|
wpa_passphrase $ssid $psk > /etc/wpa_supplicant/wpa_supplicant-wfi0.conf
|
||||||
|
|
|
@ -12,7 +12,7 @@ bootmodes=('uefi-ia32.systemd-boot.esp' 'uefi-x64.systemd-boot.esp')
|
||||||
arch="x86_64"
|
arch="x86_64"
|
||||||
pacman_conf="pacman.conf"
|
pacman_conf="pacman.conf"
|
||||||
airootfs_image_type="squashfs"
|
airootfs_image_type="squashfs"
|
||||||
airootfs_image_tool_options=('-comp' 'zstd' '-Xcompression-level' '10')
|
airootfs_image_tool_options=('-comp' 'zstd' '-Xcompression-level' '5')
|
||||||
bootstrap_tarball_compression=(zstd -c -T0 --long -19)
|
bootstrap_tarball_compression=(zstd -c -T0 --long -19)
|
||||||
file_permissions=(
|
file_permissions=(
|
||||||
["/etc/shadow"]="0:0:400"
|
["/etc/shadow"]="0:0:400"
|
||||||
|
|
Loading…
Reference in a new issue