From 95bc81cd2c014cf59ee054e1e3acf7d64207882a Mon Sep 17 00:00:00 2001 From: mitchell Date: Sat, 2 May 2026 19:52:23 -0400 Subject: [PATCH] chore: remove useless /hosts/resolv.conf link; add ghostty-terminfo to pacstrap --- install_arch | 10 ++++------ pacstrap | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/install_arch b/install_arch index feef591..2d4f505 100755 --- a/install_arch +++ b/install_arch @@ -59,6 +59,10 @@ function main install_bootloader $boot_mode $device $encrypted_uuid move_dotfiles $username + + if test "$network" = networkd + echo 'REMINDER: Run "# ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf" after booting.' + end end function install @@ -100,10 +104,6 @@ function set_hostname -a new_hostname end log "Setting hostname to $new_hostname" echo $new_hostname >/etc/hostname - echo " -127.0.0.1 localhost -::1 localhost -127.0.1.1 $new_hostname.local $new_hostname" >>/etc/hosts end function configure_systemd_networkd @@ -119,8 +119,6 @@ IPv6PrivacyExtensions=yes" >/etc/systemd/network/20-wired.network log 'Enabling systemd networkd and resolved services' systemctl enable systemd-networkd.service systemctl enable systemd-resolved.service - - ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf end function configure_network_manager diff --git a/pacstrap b/pacstrap index 29b4453..5b5e4df 100755 --- a/pacstrap +++ b/pacstrap @@ -1,5 +1,5 @@ #!/usr/bin/env fish -pacstrap -K /mnt base linux git fish amd-ucode btrfs-progs $argv +pacstrap -K /mnt base linux git fish amd-ucode btrfs-progs ghostty-terminfo $argv and genfstab -U /mnt >>/mnt/etc/fstab and cp -r /root/dotfiles /mnt/ and arch-chroot /mnt