PortValhalla/archiso/scripts/valhalla.patch
2024-10-06 21:25:34 +02:00

55 lines
1.1 KiB
Diff

diff --git a/airootfs/root/.zlogin b/airootfs/root/.zlogin
index bf6bc8f..0c263a9 100644
--- a/airootfs/root/.zlogin
+++ b/airootfs/root/.zlogin
@@ -4,3 +4,18 @@ if grep -Fqa 'accessibility=' /proc/cmdline &> /dev/null; then
fi
~/.automated_script.sh
+
+if bash -c "ls /sys/class/backlight/*/max_brightness" > /dev/null 2>&1
+then
+ cat /sys/class/backlight/*/max_brightness > /sys/class/backlight/*/brightness
+fi
+
+cd "PortValhalla"
+
+git diff -p -R --no-ext-diff --no-color --diff-filter=M \
+ | grep -E "^(diff|(old|new) mode)" --color=never \
+ | sed "/^diff/{ x; d; }; x; /./{ p; z; }; x;" \
+ | git apply
+
+loadkeys de_CH-latin1
+./scripts/Arch/OS/setup.fish
diff --git a/packages.x86_64 b/packages.x86_64
index 724adbf..01cd2a0 100644
--- a/packages.x86_64
+++ b/packages.x86_64
@@ -30,8 +30,10 @@ ethtool
exfatprogs
f2fs-tools
fatresize
+fish
foot-terminfo
fsarchiver
+git
gnu-netcat
gpart
gpm
@@ -45,6 +47,7 @@ irssi
iw
iwd
jfsutils
+jq
kitty-terminfo
ldns
less
@@ -75,6 +78,7 @@ nbd
ndisc6
nfs-utils
nilfs-utils
+nix
nmap
ntfs-3g
nvme-cli