mirror of
https://github.com/mitchell/dotfiles.git
synced 2026-07-17 08:09:35 +00:00
chore: remove useless /hosts/resolv.conf link; add ghostty-terminfo to pacstrap
This commit is contained in:
parent
7da5ead1ed
commit
8a9b0b3a28
2 changed files with 2 additions and 7 deletions
|
|
@ -100,10 +100,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 +115,7 @@ 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
|
||||
log 'REMINDER: Run "# ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf" after booting.'
|
||||
end
|
||||
|
||||
function configure_network_manager
|
||||
|
|
|
|||
2
pacstrap
2
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue