chore: remove useless /hosts/resolv.conf link; add ghostty-terminfo to pacstrap

This commit is contained in:
mitchell 2026-05-02 19:52:23 -04:00
parent 7da5ead1ed
commit 8a9b0b3a28
2 changed files with 2 additions and 7 deletions

View file

@ -100,10 +100,6 @@ function set_hostname -a new_hostname
end end
log "Setting hostname to $new_hostname" log "Setting hostname to $new_hostname"
echo $new_hostname >/etc/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 end
function configure_systemd_networkd function configure_systemd_networkd
@ -119,8 +115,7 @@ IPv6PrivacyExtensions=yes" >/etc/systemd/network/20-wired.network
log 'Enabling systemd networkd and resolved services' log 'Enabling systemd networkd and resolved services'
systemctl enable systemd-networkd.service systemctl enable systemd-networkd.service
systemctl enable systemd-resolved.service systemctl enable systemd-resolved.service
log 'REMINDER: Run "# ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf" after booting.'
ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
end end
function configure_network_manager function configure_network_manager

View file

@ -1,5 +1,5 @@
#!/usr/bin/env fish #!/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 genfstab -U /mnt >>/mnt/etc/fstab
and cp -r /root/dotfiles /mnt/ and cp -r /root/dotfiles /mnt/
and arch-chroot /mnt and arch-chroot /mnt