Notepad
nano /etc/grub.d/40_custom
menuentry "Arch Linux (ISO Boot, Copy to RAM)" {
set isofile="/@/root/archlinux-x86_64.iso"
loopback loop (hd0,msdos2)$isofile
linux (loop)/arch/boot/x86_64/vmlinuz-linux archisobasedir=arch img_dev=/dev/sda2 img_loop=$isofile copytoram
initrd (loop)/arch/boot/x86_64/initramfs-linux.img
}
grub-mkconfig -o /boot/grub/grub.cfg
archinstall --skip-wkd --skip-ntp
sed -i 's/^#\?Port [0-9]*/Port 8022/' /etc/ssh/sshd_config
sed -i 's/^#\?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
set -U fish_history ""
nano .config/fish/functions/fish_prompt.fish
function fish_prompt --description 'Write out the prompt'
set -l last_pipestatus $pipestatus
set -lx __fish_last_status $status
set -l normal (set_color normal)
set -l color_cwd $fish_color_cwd
set -l suffix '>'
set -l bold_flag --bold
set -q __fish_prompt_status_generation; or set -g __fish_prompt_status_generation $status_generation
if test $__fish_prompt_status_generation = $status_generation
set bold_flag
end
set __fish_prompt_status_generation $status_generation
set -l status_color (set_color $fish_color_status)
set -l statusb_color (set_color $bold_flag $fish_color_status)
set -l prompt_status (__fish_print_pipestatus "[" "]" "|" "$status_color" "$statusb_color" $last_pipestatus)
echo -n -s (prompt_login)' ' (set_color $color_cwd) (prompt_pwd) $normal (fish_vcs_prompt) $normal " "$prompt_status $suffix " "
end
net.ipv4.tcp_rmem = 8192 262144 67108864
net.ipv4.tcp_wmem = 4096 16384 67108864
net.ipv4.tcp_adv_win_scale = -2
net.ipv4.tcp_notsent_lowat = 131072
net.ipv4.tcp_congestion_control = bbr
net.core.default_qdisc = fq